mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-14 23:31:00 +08:00
* io/write_float.def (WRITE_FLOAT): Use __builtin_signbit.
From-SVN: r157048
This commit is contained in:
parent
9da60d2a10
commit
28c64ec893
@ -1,3 +1,7 @@
|
||||
2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||
|
||||
* io/write_float.def (WRITE_FLOAT): Use __builtin_signbit.
|
||||
|
||||
2010-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
* io/list_read.c (list_formatted_read_scalar): Remove duplicate code.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
|
||||
Contributed by Andy Vaught
|
||||
Write float code factoring to this file by Jerry DeLisle
|
||||
F2003 I/O support contributed by Jerry DeLisle
|
||||
@ -818,7 +818,7 @@ sprintf (buffer, "%+-#" STR(MIN_FIELD_WIDTH) ".*" \
|
||||
{\
|
||||
GFC_REAL_ ## x tmp;\
|
||||
tmp = * (GFC_REAL_ ## x *)source;\
|
||||
sign_bit = signbit (tmp);\
|
||||
sign_bit = __builtin_signbit (tmp);\
|
||||
if (!isfinite (tmp))\
|
||||
{ \
|
||||
write_infnan (dtp, f, isnan (tmp), sign_bit);\
|
||||
|
Loading…
Reference in New Issue
Block a user