HomeFreeBSD

Fix incorrect hypotl(3) result with subnormal numbers

Description

Fix incorrect hypotl(3) result with subnormal numbers

This adjusts the factor used to scale the subnormal numbers, so it
becomes the right value after adjusting its exponent. Thanks to Steve
Kargl for finding the most elegant fix.

Also enable the hypot tests, and add a test case for this bug.

PR: 253313
MFC after: 1 week

Details

Provenance
dimAuthored on Feb 10 2021, 10:28 PM
Parents
rGa6dc68c0e0f8: arm64: if_dwc is also needed by intel stratix10 platform
Branches
Unknown
Tags
Unknown