freebsd-dev/lib/libc/sparc64/fpu
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_add.c
fpu_arith.h
fpu_compare.c
fpu_div.c
fpu_emu.h
fpu_explode.c Fix long (and long long) to long double, unsigned to long double and unsigned 2005-05-27 10:00:22 +00:00
fpu_extern.h
fpu_implode.c s/round/fpround/ to avoid naming clash with GCC builtin function. 2004-07-28 05:41:05 +00:00
fpu_mul.c
fpu_qp.c Fix long (and long long) to long double, unsigned to long double and unsigned 2005-05-27 10:00:22 +00:00
fpu_reg.h
fpu_reg.S
fpu_sqrt.c
fpu_subr.c
fpu.c Remove unused variables. Add required headers and function 2004-01-06 18:53:26 +00:00
Makefile.inc