benilla-re systems structs docs

s_splinePi

global · spline

Address
0x8029c4 · 4 bytes, up to 0x8029c7
Type
const float
Meaning
Holds the float pi, which the file's 2 pi initializer doubles
Confidence
verified, proof one
Finding
spline#object-file-and-initializers

Finding: Object file and initializers in spline

The file's header globals are three floats, +∞ at 0xb05db0, 2π at 0xb05e50 and 1/2π at 0xb05dd4, set by 0x4532c0 through 0x4532d0, 0x454930 through 0x454940 and 0x454950 through 0x454960. +∞ is the float at 0x8029c0; 2π is the float π at 0x8029c4 doubled; 1/2π is 1.0 divided by 2π at 53 bits. Nothing reads +∞ or 1/2π.

The derivation is in the doc.