HomeFreeBSD

Fix incorrect powf(3) result with x near 1 and |y| much larger than 1

Description

Fix incorrect powf(3) result with x near 1 and |y| much larger than 1

This adjusts the check to trigger overflow/underflow to a slightly lower
value.

Before: powf(9.999995e-01, -1.342177e+08) -> inf
After: powf(9.999995e-01, -1.342177e+08) -> 1.858724e+31

MFC after: 1 week

Details

Provenance
Steve Kargl <sgk@troutmask.apl.washington.edu>Authored on Feb 8 2021, 7:45 PM
dimCommitted on Feb 8 2021, 7:48 PM
Parents
rGb57704702762: mca: Handle inconsistent CMCI capability reporting
Branches
Unknown
Tags
Unknown