freebsd-dev/lib/libc
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
..
alpha Remove fpsetsticky(). This was added for SysV compatibility, but due 2005-03-15 15:53:39 +00:00
amd64 Optimize the instruction alignment. 2005-04-23 18:45:36 +00:00
arm Use the correct values for softfloat, in both the little endian and the big 2005-03-20 00:53:52 +00:00
compat-43 Revert accidiental removal of string.h inclusion. 2005-02-27 18:39:02 +00:00
db
gdtoa
gen reduce strlen() call. 2005-05-20 15:39:20 +00:00
gmon Fix race by using atomic operation, with this change, both libpthread 2005-05-06 07:37:01 +00:00
i386 Provide stub functions for i386_set_ldt() and i386_get_ldt() even when 2005-04-26 20:51:15 +00:00
ia64 - Define LDBL_NBIT to be a mask indicating the position of the integer 2005-03-07 04:55:40 +00:00
include
locale Make <runefile.h> internal to libc. 2005-05-16 09:32:41 +00:00
net - The ai_addrlen of a struct addrinfo used to be a size_t, per 2005-05-15 20:15:15 +00:00
nls Add korean NLS message catalogs for libc 2005-03-07 13:57:24 +00:00
posix1e
powerpc Remove fpsetsticky(). This was added for SysV compatibility, but due 2005-03-15 15:53:39 +00:00
quad
regex Remove unused file. 2005-04-25 02:29:03 +00:00
rpc Avoid pointer arithmetics on void *. 2005-03-10 08:25:49 +00:00
softfloat Remove fpsetsticky(). This was added for SysV compatibility, but due 2005-03-15 15:53:39 +00:00
sparc64 Fix long (and long long) to long double, unsigned to long double and unsigned 2005-05-27 10:00:22 +00:00
stdio The header glue.h should provide just a declaration for the variable 2005-05-13 21:12:34 +00:00
stdlib Do not require the pty(4) majors to be anything in particular. 2005-03-04 20:23:32 +00:00
stdtime
string Replace the current strspn() and strcspn() with significantly faster 2005-04-02 18:52:44 +00:00
sys Document the fact that accept(2) may return EINVAL when addrlen is 2005-05-04 11:09:26 +00:00
uuid Avoid (unnecessarily) casting away const within uuid_is_nil. 2005-05-11 13:18:10 +00:00
xdr
yp do mutex lock for each yp calls. with this, 2005-05-03 20:30:31 +00:00
Makefile