s_fastmathTwoPi
global · fastmath
- Address
0xb05ea0· 4 bytes, up to0xb05ea3- Type
float- Meaning
- Holds 2 pi, set at startup; read only by the 1/(2π) initializer
- Confidence
- verified, proof one
- Finding
- fastmath#static-initializers
Finding: Static initializers in fastmath
The file's three initializers run from slots 0x827558, 0x82755c and 0x827560 of the C runtime's table.
0x454aa0 copies +∞ (0x7f800000, 0x8029d8) to 0xb05e98; 0x455b70 stores π + π of the float at
0x8029dc in 0xb05ea0 (2π, 0x40c90fdb); 0x455b90 stores 1.0 / 0xb05ea0 in 0xb05e9c. Each is entered
through a jmp thunk, 0x454a90, 0x455b60 and 0x455b80.
The derivation is in the doc.