Floating point support functions

This commit is contained in:
Erik van der Kouwe
2009-12-24 20:22:41 +00:00
parent 5e9a8f05ff
commit 6dc5d42798
33 changed files with 970 additions and 8 deletions

View File

@@ -14,7 +14,7 @@ ldexp(double fl, int exp)
int sign = 1;
int currexp;
if (__IsNan(fl)) {
if (isnan(fl)) {
errno = EDOM;
return fl;
}