freebsd-dev/lib/libc/sparc64
Stefan Farfeleder 1470d46611 Fix long (and long long) to long double, unsigned to long double and unsigned
long (and unsigned long long) to long double conversions.
- Add a parameter that specifies the position of the sign bit to the _QP_TTOQ
  macro, previously it always looked at bit 31.  Pass a negative number to
  disable sign inspection for unsigned types.  This fixes _Qp_xtoq(),
  _Qp_uitoq() and _Qp_uxtoq().
- In the functions __fpu_itof() and __fpu_xtof(), look at the sign bit to
  decide whether we're doing a conversion from an unsigned type.  If so, don't
  negate the mantissa if the integer exceeds the biggest signed number.

PR:		55773
Patch by:	Stephen Paskaluk (based upon)
MFC after:	2 weeks
2005-05-27 10:00:22 +00:00
..
fpu Fix long (and long long) to long double, unsigned to long double and unsigned 2005-05-27 10:00:22 +00:00
gen Remove fpsetsticky(). This was added for SysV compatibility, but due 2005-03-15 15:53:39 +00:00
net
stdlib
string
sys
_fpmath.h Define LDBL_NBIT to be a mask indicating the position of the integer 2005-03-07 04:55:22 +00:00
arith.h
Makefile.inc
SYS.h