ulong getNaNPayload(
real x
) pure nothrow @nogc @trusted;
Returns
the integer payload as a ulong.
For floats, the largest possible payload is 0x3F_FFFF.
For doubles, it is 0x3_FFFF_FFFF_FFFF.
For 80-bit or 128-bit reals, it is 0x3FFF_FFFF_FFFF_FFFF.
Authors
Walter Bright, Don Clugston,
Conversion of CEPHES math library to D by Iain Buclaw
Copyright Digital Mars 2000 - 2011.
D implementations of tan, atan, atan2, exp, expm1, exp2, log, log10, log1p,
log2, floor, ceil and lrint functions are based on the CEPHES math library,
which is Copyright (C) 2001 Stephen L. Moshier
and are incorporated herein by permission of the author. The author
reserves the right to distribute this material elsewhere under different
copying permissions. These modifications are distributed here under
the following terms: