InitSoftFloatHundredth
function · cmath · orchestration
- Address
0x7626e0· 11 bytes, up to0x7626ea- Signature
void __cdecl (void)- Meaning
- Stores 0x3c23d70a, 0.01, in its global; a static initializer
- Confidence
- verified, proof one
- Finding
- spell/records#modifier-appliers
Finding: Modifier appliers in spell: records
Three appliers take (spell, &value, op) and change the value only when 0x6e6b30 returns 1.
The integer one sets value = (value + flat)·pct / 100, 32-bit wrapping, the division signed and
truncating. The float one sets value = (float)(((double)flat + value)·pct·0.01f): each step at
53-bit precision in that order, 0.01f being 0x3c23d70a, one rounding to single at the store.
The software one sets value = ((value ⊕ F(flat)) ⊗ F(pct)) ⊗ 0.01f in the arithmetic of
Software floats, where F is its int-to-float.
The derivation is in the doc.
Callers 1
- 0x7626d0 cmath
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.