benilla-re systems structs docs

s_scalarTwoPi

global · cmath

Address
0xb05eac · 4 bytes, up to 0xb05eaf
Type
float
Meaning
Holds 2 pi, set at startup; read only by the 1/2 pi initializer
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.