benilla-re systems structs docs

Determinant3FromEntries

function · unassigned · primitive

Address
0x7bc040 · 71 bytes, up to 0x7bc086
Signature
float __stdcall (float m0, float m1, float m2, float m3, float m4, float m5, float m6, float m7, float m8)
Meaning
Leaves the determinant of nine floats on the stack in st0 at 53 bits
Confidence
verified, proof two
Finding
cmath/matrices#determinants-and-inverses
Test
cmath::det3

Finding: Determinants and inverses in cmath: matrices

0x7bc040 (nine floats on the stack, ret 0x24) leaves the 3×3 determinant in st0 at 53 bits, m1·m5·m6 + m2·m3·m7 + m0·m4·m8 − m2·m4·m6 − m1·m3·m8 − m0·m5·m7. 0x7bcf90 expands the 4×4 along row 0, m0·D0 − m1·D1 + m2·D2 − m3·D3 with Dj that determinant of the minor without row 0 and column j, each partial sum stored as a float. 0x7bd390 stores the adjugate: entry 4i + j is (−1)^(i+j) times the minor without row j and column i. 0x7bd6c0(m, out, s) stores RN24(1/s) times each adjugate entry; nothing tests s for 0.

The derivation is in the doc.

Callers 3

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.