Fix mantissa overflow for denormal inputs
The numbers in the test case all should round up to the smallest normalized single-precision number. Previously they were all flushed to zero because rounding up overflows the mantissa and only the lower 23 bits were used. This patch modifies the existing overflow check to also check for the condition described above.
A
Alexander Bolz committed
5fcc3418cb712085d70d85fda1a5c41301e148cf
Parent: 64ed87b
Committed by Ulf Adams <ulfjack@users.noreply.github.com>
on 6/5/2020, 7:45:07 PM