Alan Modra da13146da1 PowerPC floating point little-endian [10 of 15]
http://sourceware.org/ml/libc-alpha/2013-07/msg00201.html

These two functions oddly test x+1>0 when a double x is >= 0.0, and
similarly when x is negative.  I don't see the point of that since the
test should always be true.  I also don't see any need to convert x+1
to integer rather than simply using xr+1.  Note that the standard
allows these functions to return any value when the input is outside
the range of long long, but it's not too hard to prevent xr+1
overflowing so that's what I've done.

(With rounding mode FE_UPWARD, x+1 can be a lot more than what you
might naively expect, but perhaps that situation was covered by the
x - xrf < 1.0 test.)

	* sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
	* sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2013-10-04 10:35:10 +09:30
..
2013-03-29 16:53:05 +05:30
2002-09-15 18:31:23 +00:00
2012-10-09 15:41:30 -07:00
2004-05-28 21:19:35 +00:00
2013-09-20 21:25:31 +02:00
2013-09-18 14:47:49 +00:00
2012-03-28 09:25:31 +02:00
2013-04-03 14:13:44 +02:00
2013-06-05 20:44:03 +00:00
2004-02-14 05:16:57 +00:00