benilla-re systems structs docs

s_negInvGravity

global · collision

Address
0x81da5c · 4 bytes, up to 0x81da5f
Type
float
Meaning
Holds -1/g, -0.051837362 (0xbd54536a)
Confidence
verified, proof one
Finding
collision/falling#arc-fields-and-constants

Finding: Arc fields and constants in collision: falling

The vertical speed is down-positive: a positive +0xa0 falls and a jump launches at a negative one. A body t seconds into the arc is at +0x7c − D(t). Gravity g is 19.291105 (0x419a542f, at 0x81da58). The cap T is [0x87d894], 60.148003 (0x4270978e), or [0x87d898], 7.0 (0x40e00000), whenever flag 0x20000000 is set. The other constants are the float roundings of g's multiples:

addressvaluedwordis
0x81da609.64555260x411a542fg/2
0x81da6438.5822110x421a542f2g
0x80e0200.0518373620x3d54536a1/g
0x81da5c−0.0518373620xbd54536a−1/g
0x81da680.103674720x3dd4536a2/g
0x81da6c0.0259186810x3cd4536a1/(2g)
0x81da70−2⁻²²0xb4800000rising limit

The derivation is in the doc.