#
a7682b76 |
| 02-Feb-2014 |
martin <martin@NetBSD.org> |
Fix unsigned 64 bit int to long double conversion for numbers that would not fit into a signed 64 bit int. Found by latest t_floatunditf test case failuer, hint from Matt Thomas.
|
#
33794f1e |
| 15-Feb-2013 |
martin <martin@NetBSD.org> |
Make all conversions from 128bit (long double) floats to integral types use rounding towards zero (casts to int/long are not affected by current rounding mode). Fixes PR port-sparc64/47535.
|
#
e9be2577 |
| 17-Mar-2012 |
martin <martin@NetBSD.org> |
Avoid lint warnings
|
#
90310d68 |
| 14-Mar-2012 |
martin <martin@NetBSD.org> |
Rename __zero to __sf128_zero to avoid clashes with the strange new inline function in cdefs.h
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
5265977a |
| 08-Nov-2007 |
martin <martin@NetBSD.org> |
When converting long double values to integer types, explicitly use the "round to zero" variants of the softfloat conversion functions. Add a variant to convert long double to unsigned long - the "to
When converting long double values to integer types, explicitly use the "round to zero" variants of the softfloat conversion functions. Add a variant to convert long double to unsigned long - the "to long" variant checked for overflows that do not apply to unsigned results. This fixes the regress/lib/libc/convfp tests for sparc64.
show more ...
|
#
cf437d29 |
| 01-May-2003 |
martin <martin@NetBSD.org> |
Make _Qp_qtoui return the right value for inputs that do not fit into an int value, but are valid unsigned ints. This should fix PR 21414. The same problem exists for _Qp_qtoux, but there is no simil
Make _Qp_qtoui return the right value for inputs that do not fit into an int value, but are valid unsigned ints. This should fix PR 21414. The same problem exists for _Qp_qtoux, but there is no similar trivial solution to that (I could think of). Pointed out by David Laight.
show more ...
|
#
12784e54 |
| 06-Feb-2003 |
petrov <petrov@NetBSD.org> |
Correct unsigned to float conversions, add license, adjust style.
|
#
a7839b0f |
| 27-Mar-2002 |
jmc <jmc@NetBSD.org> |
Fix typo in previous commit
|
#
a1fe3592 |
| 27-Mar-2002 |
jmc <jmc@NetBSD.org> |
Correct mistaken signature for _Qp_dtoq. It gets a double passed in, not a pointer to double which causes obvious errors on evaluation
|
#
d9c86555 |
| 05-Feb-2002 |
jmc <jmc@NetBSD.org> |
Add softfloat and quad softfloat setup for sparc64 (thanks to Andrey Petrov for most of this. I just integrated the build).
This adds proper functions for the _Qp* parts of the sparc64 ABI (which ha
Add softfloat and quad softfloat setup for sparc64 (thanks to Andrey Petrov for most of this. I just integrated the build).
This adds proper functions for the _Qp* parts of the sparc64 ABI (which handle quad softfloat). The routines work but need additional testing. However if the compiler calls these currently bad things (core dumps) will happen as gcc 2.95.3 generates bad calls for these.
Until that problem is fixed in the toolchain -msoft-quad-float cannot be enabled as the default option for all builds (but the routines need to be in libc as libgcc contains some references to these and anything including it via --whole-archive will need the symbols to at least resolve).
show more ...
|