Pristine Ack-5.5
[Ack-5.5.git] / modules / src / flt_arith / flt_misc.h
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: flt_misc.h,v 1.4 1994/06/24 11:15:55 ceriel Exp $ */
6
7 #include <flt_arith.h>
8
9 /* some short-hands ... */
10 #define m1 flt_mantissa.flt_h_32
11 #define m2 flt_mantissa.flt_l_32
12
13 /* some constants */
14 #define EXT_MAX         16384           /* max exponent */
15 #define EXT_MIN         (-16384)        /* min exponent */
16
17 /* hiding of names: */
18 #define ucmp            _flt_ucmp
19 #define flt_nrm         _flt_nrm
20 #define flt_chk         _flt_chk
21 #define flt_b64_add     _flt_64add
22 #define flt_split       _flt_split
23
24 _PROTOTYPE(int ucmp, (long, long));
25 _PROTOTYPE(void flt_nrm, (flt_arith *));
26 _PROTOTYPE(void flt_chk, (flt_arith *));
27 _PROTOTYPE(int flt_b64_add, (struct flt_mantissa *, struct flt_mantissa *));
28 _PROTOTYPE(void flt_split, (flt_arith *, unsigned short *));