| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
PLT entries and prevent overriding
ok kettenis@ deraadt@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
|
| |
requested by kettenis@
|
| |
|
|
| |
ok deraadt@
|
| |
|
|
|
|
| |
of the result in many cases. From FreeBSD allbeit with some changes to
keep the coding style consistent. This fixes the asinhl(4) issue reported
by dickman@ on tech@.
|
| | |
|
| |
|
|
|
| |
resurrection of the bad idiom in the tree.
sufficient review by miod, kettenis, tedu
|
| |
|
|
| |
ok guenther millert kettenis
|
| |
|
|
| |
least the former is emitted by modern versions of GCC.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
|
| |
|
|
| |
which caused all negative numbers returned to be == -1.
|
| | |
|
| |
|
|
| |
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
|
| |
|
|
| |
pointed out by Mark Kettenis, kettenis,chello,nl
|
|
|
NetBSD's kernel emulation stuff). Not enabled yet.
|