benilla-re systems structs docs

fastmath

rowsnamedverifiedproof twotested
functions2121 (100%)10 (47%)0 (0%)3 (14%)
globals1212 (100%)12 (100%)0 (0%)–
structs0––––
fields0––––
all3333 (100%)22 (66%)0 (0%)3 (14%)

Docs

fastmath

The client's software scalar maths file after the spline file, 0x454a90 to 0x455ba2: a base-2 logarithm and exponential built from a table and a polynomial, a quadratic solver, an angle wrap, an arctangent polynomial, vector tests, batch reciprocal and reciprocal square root routines and cubic table interpolation. The logarithm and exponential use no f2xm1 or fyl2x, so their results do not depend on the CPU. Of its functions only 0x454d40, 0x454f40 and 0x455b30 are called. The file's three static initializers store +∞, 2π and 1/2π in 0xb05e98, 0xb05ea0 and 0xb05e9c, and nothing reads them. The next file opens at 0x455c00 with an initializer of its own; 0x455bb0 and the code after it are not this file's. The x87 runs at 53 bits (docs/METHOD.md).

Closure

6 roots. A walk of direct calls and jumps from them reaches 9 of the 21 functions the system owns, and stops at 2 functions of other systems. Vtable slots and stored addresses are not followed, so a function reached only that way is not counted.

Roots

Boundary

Functions 21

addressnameclassconfidencetestclosure
0x454a90InitFastmathInfinityThunkorchestrationverified, proof one✓
0x454aa0InitFastmathInfinityorchestrationverified, proof one✓
0x454ab0FastArctanunreachedinferred
0x454b30FastLog2PolyScaledunreachedinferred
0x454ba0FastLog2Polyunreachedinferred
0x454c10FastLog2PolyScaled2unreachedinferred
0x454c80FastLog2unreachedverified, proof one
0x454d40FastPow2primitiveverified, proof one✓✓
0x454e10RayHitsOriginSphereunreachedinferred
0x454ea0QuadraticRootsDoubleunreachedinferred
0x454f40QuadraticRootsprimitiveverified, proof one✓✓
0x454fd0RefineReciprocalBlocksunreachedinferred
0x455260BatchSqrtunreachedinferred
0x4555f0BatchRsqrtunreachedinferred
0x455970CatmullRomDoubleunreachedinferred
0x455a50CatmullRomFloatunreachedinferred
0x455b30AngleWrapprimitiveverified, proof one✓✓
0x455b60InitFastmathTwoPiThunkorchestrationverified, proof one✓
0x455b70InitFastmathTwoPiprimitiveverified, proof one✓
0x455b80InitFastmathInvTwoPiThunkorchestrationverified, proof one✓
0x455b90InitFastmathInvTwoPiprimitiveverified, proof one✓

Globals 12

addressnametypeconfidence
0x8029d8s_floatInfinityfloatverified, proof one
0x8029dcs_floatPifloatverified, proof one
0x8029e0s_exp2Tabledouble[64]verified, proof one
0x802be0s_log2Reciprocalsdouble[64]verified, proof one
0x802de0s_log2Correctionsdouble[64]verified, proof one
0x802ff0s_log2Floordoubleverified, proof one
0x802ff8s_log2Coefficientsdouble[6]verified, proof one
0x803028s_exp2Coefficientsdouble[6]verified, proof one
0x803058s_exp2Biasdoubleverified, proof one
0xb05e98s_fastmathInfinityfloatverified, proof one
0xb05e9cs_fastmathInvTwoPifloatverified, proof one
0xb05ea0s_fastmathTwoPifloatverified, proof one