2 (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 See the copyright notice in the ACK home directory, in the file "Copyright".
8 /********************************************************/
10 NORMALIZE an EXTENDED FORMAT NUMBER
12 /********************************************************/
21 /* we assume that the mantissa != 0 */
22 /* if it is then just return */
23 /* to let it be a problem elsewhere */
24 /* THAT IS, The exponent is not set to */
25 /* zero. If we don't test here an */
26 /* infinite loop is generated when */
27 /* mantissa is zero */
29 if ((e1->m1 | e1->m2) == 0L)
32 /* if top word is zero mov low word */
33 /* to top word, adjust exponent value */
39 if ((e1->m1 & NORMBIT) == 0) {
40 unsigned long l = ((unsigned long)NORMBIT >> 1);
43 while (! (l & e1->m1)) {
48 b64_sft(&(e1->mantissa), cnt);