D. J. Bernstein
Fast arithmetic

How to install Zmult

Like any other piece of software (and information generally), Zmult comes with NO WARRANTY.


Download the Zmult package. The first published Zmult package is zmult-0.50.tar.gz.

Unpack the Zmult package:

     gunzip zmult-0.50.tar
     tar -xf zmult-0.50.tar
     cd zmult-0.50

Compile the Zmult library and test program:

Try the test program:
     ./accuracy > accuracy.out
     md5 accuracy.out
The MD5 checksum of accuracy.out should be 11d8f03bebf467736ee089a088fc4c99. You can also feed accuracy.out through bc or gp; the result should be a series of zeros.

Zmult 0.50 does not work under old versions of gcc on x86, because the code assumes that the compiler will not spill certain registers to memory. gcc 2.95.1 works; gcc doesn't. Zmult will eventually have asm for x86 to avoid this problem.

Please report success by sending me the portability notes created by the compilation process:

     ( echo 'First M. Last'; cat `cat SYSDEPS`; ./speed ) \
     | mail djb-sysdeps@cr.yp.to
Replace First M. Last with your name.