ffa_ch12_karatsub... 1
ffa_ch12_karatsub... 2
ffa_ch12_karatsub... 3
ffa_ch12_karatsub... 4
ffa_ch15_gcd.kv 5
ffa_ch12_karatsub... 6
ffa_ch12_karatsub... 7
ffa_ch12_karatsub... 8
ffa_ch12_karatsub... 9
ffa_ch12_karatsub... 10
ffa_ch12_karatsub... 11
ffa_ch12_karatsub... 12
ffa_ch12_karatsub... 13
ffa_ch12_karatsub... 14
ffa_ch12_karatsub... 15
ffa_ch12_karatsub... 16
ffa_ch12_karatsub... 17
ffa_ch12_karatsub... 18
ffa_ch12_karatsub... 19
ffa_ch12_karatsub... 20 with FZ_Type; use FZ_Type;
ffa_ch12_karatsub... 21
ffa_ch12_karatsub... 22
ffa_ch12_karatsub... 23 package FZ_Sqr is
ffa_ch12_karatsub... 24
ffa_ch12_karatsub... 25 pragma Pure;
ffa_ch12_karatsub... 26
ffa_ch12_karatsub... 27
ffa_ch12_karatsub... 28 Sqr_Karatsuba_Thresh : constant Indices := 8;
ffa_ch12_karatsub... 29
ffa_ch12_karatsub... 30
ffa_ch12_karatsub... 31 procedure FZ_Square_Unbuffered(X : in FZ;
ffa_ch12_karatsub... 32 XX : out FZ);
ffa_ch12_karatsub... 33 pragma Inline_Always(FZ_Square_Unbuffered);
ffa_ch12_karatsub... 34
ffa_ch12_karatsub... 35
ffa_ch12_karatsub... 36 procedure FZ_Sqr_Comba(X : in FZ;
ffa_ch12_karatsub... 37 XX : out FZ);
ffa_ch12_karatsub... 38 pragma Inline_Always(FZ_Sqr_Comba);
ffa_ch12_karatsub... 39
ffa_ch12_karatsub... 40
ffa_ch12_karatsub... 41 procedure Sqr_Karatsuba(X : in FZ;
ffa_ch12_karatsub... 42 XX : out FZ)
ffa_ch12_karatsub... 43 with Pre => XX'Length = 2 * X'Length and
ffa_ch12_karatsub... 44 X'Length mod 2 = 0;
ffa_ch12_karatsub... 45
ffa_ch12_karatsub... 46
ffa_ch12_karatsub... 47
ffa_ch12_karatsub... 48 procedure FZ_Square_Buffered(X : in FZ;
ffa_ch12_karatsub... 49 XX_Lo : out FZ;
ffa_ch12_karatsub... 50 XX_Hi : out FZ);
ffa_ch12_karatsub... 51 pragma Inline_Always(FZ_Square_Buffered);
ffa_ch12_karatsub... 52
ffa_ch12_karatsub... 53 end FZ_Sqr;