| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug exposed by erratic sqlite3 behavior used in ports/devel/proj,
as pointed out by landry@. Richard Hipps (SQLite) pointed at the
culprit (_Qp_div), many thanks.
Adapted from FreeBSD revision 146673 by Stephen Paskaluk and
stefanf@FreeBSD. FreeBSD commit message:
"""
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.
"""
ok deraadt@
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
ok kettenis@
|
|
|
|
| |
ok guenther millert kettenis
|
| |
|
|
|
|
| |
values with the high bit set. ok kettenis@ jason@
|
|
|
|
|
| |
department: cast 'i' to u_int64_t so the sign comparison actually
makes sense. Any other bugs in here just ship in the release, I'm done.
|
| |
|
|
|
|
| |
to a program's health, avoid it. ok deraadt
|
|
NetBSD's kernel emulation stuff). Not enabled yet.
|