From: johanknol Date: Mon, 10 Dec 2001 09:44:49 +0000 (+0000) Subject: fixed bug #490955 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=2bd431e7a223c68745ba997cb059c44a437c7325;p=fw%2Fsdcc fixed bug #490955 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1670 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/device/lib/_fsgt.c b/device/lib/_fsgt.c index 2fbbda27..d5a67a0e 100644 --- a/device/lib/_fsgt.c +++ b/device/lib/_fsgt.c @@ -32,11 +32,14 @@ char __fsgt (float a1, float a2) fl1.f = a1; fl2.f = a2; +#if 0 if (fl1.l<0 && fl2.l<0) { fl1.l ^= SIGNBIT; fl2.l ^= SIGNBIT; } +#endif + if (fl1.l > fl2.l) return (1); return (0); diff --git a/device/lib/_fslt.c b/device/lib/_fslt.c index 2e55f83a..1661a648 100644 --- a/device/lib/_fslt.c +++ b/device/lib/_fslt.c @@ -32,11 +32,14 @@ char __fslt (float a1, float a2) fl1.f = a1; fl2.f = a2; +#if 0 if (fl1.l<0 && fl2.l<0) { fl1.l ^= SIGNBIT; fl2.l ^= SIGNBIT; } +#endif + if (fl1.l < fl2.l) return (1); return (0); diff --git a/device/lib/_fsneq.c b/device/lib/_fsneq.c index 1d23ed38..cf397fb1 100644 --- a/device/lib/_fsneq.c +++ b/device/lib/_fsneq.c @@ -32,11 +32,14 @@ char __fsneq (float a1, float a2) fl1.f = a1; fl2.f = a2; +#if 0 if (fl1.l<0 && fl2.l<0) { fl1.l ^= SIGNBIT; fl2.l ^= SIGNBIT; } +#endif + if (fl1.l == fl2.l) return (0); return (1);