HomeFreeBSD

Fix lib/msun/tests/csqrt_test on platforms with 128-bit long double

Description

Fix lib/msun/tests/csqrt_test on platforms with 128-bit long double

If long double has more than 64 mantissa bits, using uint64_t to hold the
mantissa bits will truncate the value and result in test failures. To fix
this problem use uint128_t since all platforms that have
LDBL_MANT_DIG__ > 64 also have compiler support for 128-bit integers.

Reviewed By: rlibby
Differential Revision: https://reviews.freebsd.org/D29076

Details

Provenance
arichardsonAuthored on Mar 22 2021, 4:54 PM
Reviewer
rlibby
Differential Revision
D29076: Fix lib/msun/tests/csqrt_test on platforms with 128-bit long double
Parents
rG71ba16a0a02f: xnb: Don't pass SIOC{ADD,DEL}MULTI to ifmedia_ioctl().
Branches
Unknown
Tags
Unknown