benilla-re systems structs docs

__powhlp

function · crt · primitive

Address
0x744c8c · 304 bytes, up to 0x744dbb
Signature
int32_t __cdecl (double x, double y, double *out)
Meaning
Stores pow for an infinite x or y and returns 1 for a domain error
Confidence
verified, proof one
Name from
the community database (idb)
Finding
crt/math#non-finite-powers
Test
crt::crt_pow_nonfinite_difftest

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.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.