benilla-re systems structs docs

s_mathNegativeZero

global · crt

Address
0x82f4f0 · 8 bytes, up to 0x82f4f7
Type
double
Meaning
Holds -0.0, the answer of pow for a negative odd power of -inf
Confidence
verified, proof one
Finding
crt/math#non-finite-powers

Finding: Non-finite powers in crt: math routines

__CIpow (0x73f940) stores the base and the exponent as doubles and enters its second entry, 0x73f962, which no row holds. When either is a NaN the answer is that NaN, quiet, from faddp of the two (of two NaNs the larger significand), with errno 33. When either is an infinity, __powhlp (0x744c8c) answers by the table below, y being the exponent; a 1 from it sets errno to 33, the answer kept.

basey = +infy = −infother y
|x| > 1+inf+0
|x| < 1, zero+0+inf
|x| = 1indefinite, 1indefinite, 1
+inf+inf for y > 0, 1 for 0, +0 for y < 0
−infy > 0: −inf if y is odd, else +inf; y < 0: −0 if odd, else +0; y = 0: 1

The derivation is in the doc.