-
+ AD4BCD1C0F26FDAE13316825F8AD112744491727D35D0645BBA892DDE1DCA9CC13FEB756EA2BF673245DAA6E027386E896E5D2975F3A53949EB210571997E9D2
ffa/ffademo/README
(0 . 0)(1 . 47)
36 ------------------------------------------------------------------------------
37 ------------------------------------------------------------------------------
38 -- This file is part of 'Finite Field Arithmetic', aka 'FFA'. --
39 -- --
40 -- (C) 2017 Stanislav Datskovskiy ( www.loper-os.org ) --
41 -- http://wot.deedbot.org/17215D118B7239507FAFED98B98228A001ABFFC7.html --
42 -- --
43 -- You do not have, nor can you ever acquire the right to use, copy or --
44 -- distribute this software ; Should you use this software for any purpose, --
45 -- or copy and distribute it to anyone or in any manner, you are breaking --
46 -- the laws of whatever soi-disant jurisdiction, and you promise to --
47 -- continue doing so for the indefinite future. In any case, please --
48 -- always : read and understand any software ; verify any PGP signatures --
49 -- that you use - for any purpose. --
50 -- --
51 -- See also http://trilema.com/2015/a-new-software-licensing-paradigm . --
52 ------------------------------------------------------------------------------
53 ------------------------------------------------------------------------------
54
55 to clean:
56 gprclean
57
58 to build:
59 gprbuild
60
61 to build debug, or on crapple:
62 gprbuild -Xmode=debug
63
64
65 'libffa' will build recursively.
66
67 to run:
68 ./bin/ffa_demo
69
70
71 Chapter 1 demo output should look like this:
72
73 X =
74 0000000000000000000000000000000000000000000000000000000000000000
75 Y =
76 0000000000000000000000000000000000000000000000000000000000005555
77 X + Y =
78 0000000000000000000000000000000000000000000000000000000000005555
79 C = 0
80 X - Y =
81 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFAAAB
82 C = 1