Bruce Evans
5014f8ded4
Oops, the weak reference for ceill(), floorl() and truncl() was in the
...
wrong file. This broke arm and powerpc.
Reported by: grehan
2008-02-14 15:10:34 +00:00
Bruce Evans
e7c95ee5fe
s_ceill.c
...
s_floorl.c
s_truncl.c
2008-02-13 17:38:16 +00:00
Bruce Evans
74d68da630
On arches where long double is the same as double, alias ceil(), floor()
...
and trunc() to the corresponding long double functions. This is not
just an optimization for these arches. The full long double functions
have a wrong value for `huge', and the arches without full long doubles
depended on it being wrong.
2008-02-13 16:56:52 +00:00
Stefan Farfeleder
66116c07a7
Revert the last change, the conversion from long double to double can raise
...
unwanted underflow exceptions.
Pointed out by: das
2005-04-28 19:45:55 +00:00
Stefan Farfeleder
8f58ab910f
Use double additions to raise the inexact exception to work around problems
...
with long double addition on sparc64.
2005-04-22 09:57:55 +00:00
Stefan Farfeleder
9eb30792de
Fix raising the inexact exception (FE_INEXACT) if the result differs from the
...
argument.
Noticed by: das
2005-04-22 08:30:33 +00:00
Stefan Farfeleder
17f418f9f4
Implement floorl().
2005-01-12 22:10:46 +00:00