benilla-re systems structs docs

s_spellSquareBase

global · spell

Address
0x8117f0 · 4 bytes, up to 0x8117f3
Type
const float
Meaning
Holds 120.0, the operand a spell table initializer squares at start-up
Confidence
verified, proof one
Finding
spell/layout#static-initializers

Finding: Static initializers in spell: layout

Each file runs a header block of identical initializers: its copies of +∞, 2π and 1/2π, 25 float stores computed from constants (four products, a quotient, a square, a quotient, thirteen squares, the constant 5.0 and four squares) and a counter of the files that use the network library. 182 of the 209 trivial initializers are those blocks with their thunks; the other 27 are the thunks of the 12 initializers that build state, the functions that register exit functions, and two that store zero. The globals the header blocks write, the shared counter aside, are read only by the next initializer of the same block.

The derivation is in the doc.