mirror of git://gcc.gnu.org/git/gcc.git
write.c (write_float): Use the slightly more portable isnan in preference to isinf.
* io/write.c (write_float): Use the slightly more portable isnan in preference to isinf. From-SVN: r85407
This commit is contained in:
parent
12e4afe4e1
commit
023d776a11
|
|
@ -1,3 +1,8 @@
|
||||||
|
2004-08-01 Roger Sayle <roger@eyesopen.com>
|
||||||
|
|
||||||
|
* io/write.c (write_float): Use the slightly more portable isnan
|
||||||
|
in preference to isinf.
|
||||||
|
|
||||||
2004-07-18 Bud Davis <bdavis9659@comcast.net>
|
2004-07-18 Bud Davis <bdavis9659@comcast.net>
|
||||||
|
|
||||||
* configure.ac: Add check for LFS support.
|
* configure.ac: Add check for LFS support.
|
||||||
|
|
|
||||||
|
|
@ -523,7 +523,7 @@ write_float (fnode *f, const char *source, int len)
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(p, ' ', nb);
|
memset(p, ' ', nb);
|
||||||
res = isinf (n);
|
res = !isnan (n);
|
||||||
if (res != 0)
|
if (res != 0)
|
||||||
{
|
{
|
||||||
if (signbit(n))
|
if (signbit(n))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue