diff options
author | Steve Kargl <kargl@FreeBSD.org> | 2025-08-12 04:26:29 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2025-08-12 05:31:03 +0000 |
commit | d180086e6eae2e152e803ed6cf13775a7c006dc7 (patch) | |
tree | 78ab2332cf8c2e810647537a172135a2b532c06a /tools/regression/p1003_1b | |
parent | 4a94dee2a497203e622f458e2011908129b73907 (diff) |
The patch fixes a few instances of left shifts on
signed integer entities. A 'static inline' helper function
'subnormal_ilogb()' has been added to math_private.h. This
function is then used e_fmod.c, s_ilogb(), and s_remquo.c.
The change in s_remquo.c has only been compile tested.
The change to e_fmod.c has been test on over 3 billion pairs
of subnormal numbers where testing included x > y and x < y
pairs. The test compared the output from fmod() with the
output from mpfr_fmod() from MPFR. There were no difference.
The change to s_ilogb() has had limited testing where its
output was compared against frexp(). In this testing, no
differences in output were detected.
PR: 288778
MFC after: 1 week
Diffstat (limited to 'tools/regression/p1003_1b')
0 files changed, 0 insertions, 0 deletions