s_twoPiFloatAsDouble
global · unassigned
- Address
0x803090· 8 bytes, up to0x803097- Type
double- Meaning
- Holds the float 2 pi widened to a double, the modulus of the angle wrap
- Confidence
- verified, proof one
- Finding
- fastmath#angle-wrap
Finding: Angle wrap in fastmath
0x455b30(a) takes a float and returns in st0 r = fmod(a, 2π), plus 2π when r < 0. The modulus
is the double at 0x803090, the float 2π widened (6.2831854820251465), and the added value is the float at
0x80295c, the same number; the sum stays at 53 bits. A NaN or −0 remainder is returned as it is.
The derivation is in the doc.