Searched refs:mantdig (Results 1 - 1 of 1) sorted by relevance

/openbsd-current/regress/lib/libm/msun/
H A Dcsqrt_test.c247 * some bits in the lower mantdig/2 bits, square the number, and try to
252 test_precision(int maxexp, int mantdig) argument
267 ATF_REQUIRE(mantdig <= LDBL_MANT_DIG);
268 mantdig = rounddown(mantdig, 2);
271 mantbits = ((ldbl_mant_type)1 << (mantdig / 2)) - 1;
273 mantbits > ((ldbl_mant_type)1 << (mantdig / 2 - 1));
277 * sq_mantibts is a mantdig-bit number. Divide by
278 * 2**mantdig to normalize it to [0.5, 1), where,
283 * representable, given that mantdig i
[all...]

Completed in 125 milliseconds