-
+ A8B74FCF54F88EE08E1F4760729EA54088C2D21DB24083E695FD1C7BF0B17EEC9A4D614045BB337FD0F5C7F8BF30D7BD80063F7DFE7FE28E2E49078BA52E8250
ffa/libffa/w_pred.ads
(0 . 0)(1 . 39)
717 ------------------------------------------------------------------------------
718 ------------------------------------------------------------------------------
719 -- This file is part of 'Finite Field Arithmetic', aka 'FFA'. --
720 -- --
721 -- (C) 2017 Stanislav Datskovskiy ( www.loper-os.org ) --
722 -- http://wot.deedbot.org/17215D118B7239507FAFED98B98228A001ABFFC7.html --
723 -- --
724 -- You do not have, nor can you ever acquire the right to use, copy or --
725 -- distribute this software ; Should you use this software for any purpose, --
726 -- or copy and distribute it to anyone or in any manner, you are breaking --
727 -- the laws of whatever soi-disant jurisdiction, and you promise to --
728 -- continue doing so for the indefinite future. In any case, please --
729 -- always : read and understand any software ; verify any PGP signatures --
730 -- that you use - for any purpose. --
731 -- --
732 -- See also http://trilema.com/2015/a-new-software-licensing-paradigm . --
733 ------------------------------------------------------------------------------
734 ------------------------------------------------------------------------------
735
736 with Words; use Words;
737
738 -- Elementary Predicates on Words:
739 package W_Pred is
740
741 pragma Pure;
742
743 -- Return 1 if N is equal to 0; otherwise return 0.
744 function W_ZeroP(N : in Word) return WBool;
745
746 -- Return 1 if N is unequal to 0; otherwise return 0.
747 function W_NZeroP(N : in Word) return WBool;
748
749 -- Return 1 if N is odd; otherwise return 0.
750 function W_OddP(N : in Word) return WBool;
751
752 -- Return 1 if A is equal to B ; otherwise return 0.
753 function W_EqP(A : in Word; B : in Word) return WBool;
754
755 end W_Pred;