#ifdef FLOAT_ASM_MCS51
-// float __fsmul (float a, float b) reentrant
-static void dummy(void) _naked
+// float __fsmul (float a, float b) __reentrant
+static void dummy(void) __naked
{
- _asm
+ __asm
.globl ___fsmul
___fsmul:
// extract the two inputs, placing them into:
00010$:
ljmp fs_round_and_return
- _endasm;
+ __endasm;
}
#else
-
/*
** libgcc support for software floating point.
** Copyright (C) 1991 by Pipeline Associates, Inc. All rights reserved.
/* (c)2000/2001: hacked a little by johan.knol@iduna.nl for sdcc */
-
union float_long
{
float f;
/* pack up and go home */
if (exp >= 0x100)
- fl1.l = (sign ? SIGNBIT : 0) | 0x7F800000;
+ fl1.l = (sign ? SIGNBIT : 0) | __INFINITY;
else if (exp < 0)
fl1.l = 0;
else
}
#endif
-