2 oldfmul.c - a bug that resulted in wrong results in an old float multiplication routine.
13 #define HIDDEN (unsigned long)(1ul << 23)
15 void lmul (unsigned long l
, unsigned long r
)
17 ASSERT (l
== HIDDEN
>> 8);
18 ASSERT (r
== HIDDEN
>> 8);
22 void oldfmul11 (void) {
23 volatile union float_long fl1
, fl2
;
28 lmul((fl1
.l
>> 8), (fl2
.l
>> 8));