-
+ DE4FF4DFC81DF4A4FEBC2B5A1C359DF912969821FB3790D51D78EED6352FA52D03EB70A9226EF896CEE16DCFC40AB2FACB9FD49D54110FB86F3FEBD8CAF29E64
ffa/ffademo/ffa_io.ads
(0 . 0)(1 . 37)
362 ------------------------------------------------------------------------------
363 ------------------------------------------------------------------------------
364 -- This file is part of 'Finite Field Arithmetic', aka 'FFA'. --
365 -- --
366 -- (C) 2017 Stanislav Datskovskiy ( www.loper-os.org ) --
367 -- http://wot.deedbot.org/17215D118B7239507FAFED98B98228A001ABFFC7.html --
368 -- --
369 -- You do not have, nor can you ever acquire the right to use, copy or --
370 -- distribute this software ; Should you use this software for any purpose, --
371 -- or copy and distribute it to anyone or in any manner, you are breaking --
372 -- the laws of whatever soi-disant jurisdiction, and you promise to --
373 -- continue doing so for the indefinite future. In any case, please --
374 -- always : read and understand any software ; verify any PGP signatures --
375 -- that you use - for any purpose. --
376 -- --
377 -- See also http://trilema.com/2015/a-new-software-licensing-paradigm . --
378 ------------------------------------------------------------------------------
379 ------------------------------------------------------------------------------
380
381 with Words; use Words;
382 with FZ_Type; use FZ_Type;
383
384 package FFA_IO is
385
386 -- Character representation of a Word
387 type WChars is array(1 .. 2 * Byteness) of Character;
388
389 -- Obtain the WChars corresponding to the given Word
390 function W_To_WChars(N : Word) return WChars;
391
392 -- Display a hex representation of W to stdout
393 procedure Dump(W : in Word);
394
395 -- Display a hex representation of N to stdout
396 procedure Dump(N : in FZ);
397
398 end FFA_IO;