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
..
2005-03-17 08:39:12 +00:00
2005-04-22 18:57:32 +00:00
2005-01-24 20:01:28 +00:00
2004-11-04 08:25:03 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 23:45:54 +00:00
2005-02-09 18:07:17 +00:00
2005-02-13 23:45:54 +00:00
2005-02-14 18:40:31 +00:00
2005-05-24 10:10:38 +00:00
2005-02-09 18:07:17 +00:00
2004-12-29 02:18:24 +00:00
2004-07-05 06:59:17 +00:00
2005-03-20 10:37:56 +00:00
2005-01-28 17:01:54 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 12:05:11 +00:00
2005-04-22 18:57:32 +00:00
2005-05-13 20:51:09 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 10:16:04 +00:00
2005-01-20 09:17:07 +00:00
2005-02-14 02:41:41 +00:00
2004-12-21 10:16:04 +00:00
2005-05-20 13:09:49 +00:00
2005-01-21 10:35:40 +00:00
2005-04-23 02:20:35 +00:00
2005-01-20 09:17:07 +00:00
2005-02-13 23:45:54 +00:00
2004-12-21 10:49:29 +00:00
2004-12-21 09:33:47 +00:00
2004-12-21 12:05:11 +00:00