diff options
author | Ahmad Khalifa <vexeduxr@FreeBSD.org> | 2025-10-10 09:30:52 +0000 |
---|---|---|
committer | Ahmad Khalifa <vexeduxr@FreeBSD.org> | 2025-10-14 14:01:59 +0000 |
commit | d06e31d4a7622b535d903a1b84ce59e211ca2b18 (patch) | |
tree | cbfec17da5333d08527c7cbfef4481ad73285674 /contrib/perl5/lib/unicode/In/OpticalCharacterRecognition.pl | |
parent | 8f13891707b4a7ba7702b6d36ca64c15cf33ff93 (diff) |
libm: remainder: make sure x is zerostable/13
Make sure the entirety of x is zero before flipping the sign bit.
Otherwise the sign would be wrong for small values of x when x is
negative and |n*y| > |x|
Reported by: alfredo
PR: 251091
Reviewed by: kargl
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D53023
(cherry picked from commit 25cca51ed294890d20a3c0290814cd26875db686)
Diffstat (limited to 'contrib/perl5/lib/unicode/In/OpticalCharacterRecognition.pl')
0 files changed, 0 insertions, 0 deletions