ffa_ch2_logicals.kv 1
ffa_ch2_logicals.kv 2
ffa_ch2_logicals.kv 3
ffa_ch2_logicals.kv 4
ffa_ch15_gcd.kv 5
ffa_ch2_logicals.kv 6
ffa_ch2_logicals.kv 7
ffa_ch2_logicals.kv 8
ffa_ch2_logicals.kv 9
ffa_ch2_logicals.kv 10
ffa_ch2_logicals.kv 11
ffa_ch2_logicals.kv 12
ffa_ch2_logicals.kv 13
ffa_ch2_logicals.kv 14
ffa_ch2_logicals.kv 15
ffa_ch2_logicals.kv 16
ffa_ch2_logicals.kv 17
ffa_ch2_logicals.kv 18
ffa_ch2_logicals.kv 19
ffa_ch2_logicals.kv 20 with Word_Ops; use Word_Ops;
ffa_ch2_logicals.kv 21
ffa_ch16_miller_r... 22
ffa_ch2_logicals.kv 23
ffa_ch2_logicals.kv 24 package body W_Pred is
ffa_ch2_logicals.kv 25
ffa_ch2_logicals.kv 26
ffa_ch2_logicals.kv 27 function W_ZeroP(N : in Word) return WBool is
ffa_ch2_logicals.kv 28 begin
ffa_ch2_logicals.kv 29 return W_Borrow(N, 1, N - 1);
ffa_ch2_logicals.kv 30 end W_ZeroP;
ffa_ch2_logicals.kv 31
ffa_ch2_logicals.kv 32
ffa_ch2_logicals.kv 33
ffa_ch2_logicals.kv 34 function W_NZeroP(N : in Word) return WBool is
ffa_ch2_logicals.kv 35 begin
ffa_ch2_logicals.kv 36 return 1 xor W_ZeroP(N);
ffa_ch2_logicals.kv 37 end W_NZeroP;
ffa_ch2_logicals.kv 38
ffa_ch2_logicals.kv 39
ffa_ch5_egypt.kv 40
ffa_ch5_egypt.kv 41 function W_Not(N : in WBool) return WBool is
ffa_ch5_egypt.kv 42 begin
ffa_ch5_egypt.kv 43 return 1 xor N;
ffa_ch5_egypt.kv 44 end W_Not;
ffa_ch5_egypt.kv 45
ffa_ch5_egypt.kv 46
ffa_ch2_logicals.kv 47
ffa_ch2_logicals.kv 48 function W_OddP(N : in Word) return WBool is
ffa_ch2_logicals.kv 49 begin
ffa_ch2_logicals.kv 50 return 1 and N;
ffa_ch2_logicals.kv 51 end W_OddP;
ffa_ch2_logicals.kv 52
ffa_ch2_logicals.kv 53
ffa_ch2_logicals.kv 54
ffa_ch2_logicals.kv 55 function W_EqP(A : in Word; B : in Word) return WBool is
ffa_ch2_logicals.kv 56 begin
ffa_ch2_logicals.kv 57 return W_ZeroP(A xor B);
ffa_ch2_logicals.kv 58 end W_EqP;
ffa_ch2_logicals.kv 59
ffa_ch16_miller_r... 60
ffa_ch16_miller_r... 61
ffa_ch16_miller_r... 62 function W_LtP(A : in Word; B : in Word) return WBool is
ffa_ch16_miller_r... 63 begin
ffa_ch16_miller_r... 64 return W_Borrow(A, B, A - B);
ffa_ch16_miller_r... 65 end W_LtP;
ffa_ch16_miller_r... 66
ffa_ch2_logicals.kv 67 end W_Pred;