benilla-re systems structs docs

BuildPow10Table

function · storm · primitive

Address
0x64a680 · 88 bytes, up to 0x64a6d7
Meaning
Fills a table of 20 by 10 doubles with k times 10 to the power -(r+1)
Confidence
verified, proof one
Finding
core/threads#string-conversion-table
Test
storm::sstrtofloat_whole

Finding: String conversion table in core: process entry and threads

0x64a670 runs 0x64a680 once, setting a guard. 0x64a680 fills a table of 20 rows of 10 doubles, row r (0 to 19) column k (0 to 9) holding k * 10^-(r+1), with the power taken by the C runtime's pow intrinsic 0x73f940 on 10.0 and the negative exponent. Storm's string-to-double conversion reads it for fractional digits.

The derivation is in the doc.

Callers 1

Callees 1

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