flt_misc.h 820 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * (c) copyright 1989 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. /* $Id$ */
  6. #include "flt_arith.h"
  7. /* some short-hands ... */
  8. #define m1 flt_mantissa.flt_h_32
  9. #define m2 flt_mantissa.flt_l_32
  10. /* some constants */
  11. #define EXT_MAX 16384 /* max exponent */
  12. #define EXT_MIN (-16384) /* min exponent */
  13. /* hiding of names: */
  14. #define ucmp _flt_ucmp
  15. #define flt_nrm _flt_nrm
  16. #define flt_chk _flt_chk
  17. #define flt_b64_add _flt_64add
  18. #define flt_split _flt_split
  19. _PROTOTYPE(int ucmp, (long, long));
  20. _PROTOTYPE(void flt_nrm, (flt_arith *));
  21. _PROTOTYPE(void flt_chk, (flt_arith *));
  22. _PROTOTYPE(int flt_b64_add, (struct flt_mantissa *, struct flt_mantissa *));
  23. _PROTOTYPE(void flt_split, (flt_arith *, unsigned short *));