-
+ 287E4CF7A7675B8C9038D229570590B7C013E183C65BD149E08ACEC898E6829C627E3F7401637407940D31BE9102FC0BA2020D22885E9AE022D6ADA1D231EFCD
ffa/libffa/fz_measr.ads
(0 . 0)(1 . 32)
464 ------------------------------------------------------------------------------
465 ------------------------------------------------------------------------------
466 -- This file is part of 'Finite Field Arithmetic', aka 'FFA'. --
467 -- --
468 -- (C) 2018 Stanislav Datskovskiy ( www.loper-os.org ) --
469 -- http://wot.deedbot.org/17215D118B7239507FAFED98B98228A001ABFFC7.html --
470 -- --
471 -- You do not have, nor can you ever acquire the right to use, copy or --
472 -- distribute this software ; Should you use this software for any purpose, --
473 -- or copy and distribute it to anyone or in any manner, you are breaking --
474 -- the laws of whatever soi-disant jurisdiction, and you promise to --
475 -- continue doing so for the indefinite future. In any case, please --
476 -- always : read and understand any software ; verify any PGP signatures --
477 -- that you use - for any purpose. --
478 -- --
479 -- See also http://trilema.com/2015/a-new-software-licensing-paradigm . --
480 ------------------------------------------------------------------------------
481 ------------------------------------------------------------------------------
482
483 with Words; use Words;
484 with FZ_Type; use FZ_Type;
485
486
487 package FZ_Measr is
488
489 pragma Pure;
490
491 -- Find the index of eldest nonzero bit ( 0 if none, or 1 .. FZBitness )
492 function FZ_Measure(N : in FZ) return Word;
493 pragma Inline_Always(FZ_Measure);
494
495 end FZ_Measr;