InitSquare4e4e20
function · ui · primitive
- Address
0x4e4e20· 19 bytes, up to0x4e4e32- Signature
void __cdecl (void)- Meaning
- Stores 50 × 50 = 2500 as a float in a global
- Confidence
- verified, proof one
- Finding
- ui/initfloats#squares
Finding: Squares in ui: float constants of the static initializers
1,085 bodies multiply a constant by itself: fld [c]; fmul [c]; fstp [g]; ret, 19 bytes. The client computes with 53-bit precision, so the product of two floats is exact before the store rounds it to a float.
| Constant | Square | Bodies |
|---|---|---|
| 10² | 100 | 330 |
| 100² | 10000 | 116 |
| 0.5² | 0.25 | 58 |
| 1.5² | 2.25 | 58 |
| 3² | 9 | 58 |
| 5² | 25 | 58 |
| 5.5555553² | 30.864195 | 58 |
| 11.111111² | 123.45678 | 58 |
| 20² | 400 | 58 |
| 30² | 900 | 58 |
| 40² | 1600 | 58 |
| 50² | 2500 | 58 |
The rest are 120² = 14400 (58), 0.01² = 0.0001 (1).
The derivation is in the doc.
Callers 1
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.