summaryrefslogtreecommitdiffstats
path: root/lib/libc/amd64/gen
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2004-02-16 10:02:51 +0000
committerdas <das@FreeBSD.org>2004-02-16 10:02:51 +0000
commitd7b9eca798dc4148130a1df459fb246295d0eca6 (patch)
tree1903127380cf3a1b3ec540d25b99a06420783e92 /lib/libc/amd64/gen
parent0a505634179bfb29c3743895944d471888a1996c (diff)
downloadFreeBSD-src-d7b9eca798dc4148130a1df459fb246295d0eca6.zip
FreeBSD-src-d7b9eca798dc4148130a1df459fb246295d0eca6.tar.gz
Fix a typo in the !__GNUC__ case and remove an obsolete comment.
Diffstat (limited to 'lib/libc/amd64/gen')
-rw-r--r--lib/libc/amd64/gen/ldexp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/amd64/gen/ldexp.c b/lib/libc/amd64/gen/ldexp.c
index 82af207..b01b937 100644
--- a/lib/libc/amd64/gen/ldexp.c
+++ b/lib/libc/amd64/gen/ldexp.c
@@ -49,8 +49,6 @@ __FBSDID("$FreeBSD$");
/*
* We do the conversion in C to let gcc optimize it away, if possible.
- * The "fxch ; fstp" stuff is because value is still on the stack
- * (stupid 8087!).
*/
double
ldexp (double value, int exp)
@@ -62,7 +60,7 @@ ldexp (double value, int exp)
: "=u" (temp2), "=t" (temp)
: "0" (texp), "1" (value));
#else
-error unknown asm
+#error unknown asm
#endif
return (temp);
}
OpenPOWER on IntegriCloud