benilla-re systems structs docs

s_scalarPi

global · cmath

Address
0x80309c · 4 bytes, up to 0x80309f
Type
const float
Meaning
Holds the float pi, which the scalar file's 2 pi initializer doubles
Confidence
verified, proof two
Finding
cmath/scalars#header-initializers

Finding: Header initializers in cmath: scalars

Three globals hold the file's header constants: +∞ at 0xb05ea4 from 0x803098, 2π at 0xb05eac (the float π at 0x80309c doubled) and 1/2π at 0xb05ea8 (1.0 over 2π at 53 bits). Nothing but the 1/2π initializer reads any of them.

The derivation is in the doc.