benilla-re systems structs docs

s_oneDouble

global · core

Address
0x8015b8 · 8 bytes, up to 0x8015bf
Type
double
Meaning
Holds 1.0 as a double, a pooled constant many systems read
Confidence
verified, proof one
Finding
core/time#counter-switch

Finding: Counter switch in core: time

0x42b8b0 changes the counter mode keeping the clock continuous: with c0 the old counter and c1 the new one read at once, the new scale is (1.0 / rate) · 1000, each step rounded at 53 bits, and the new offset (c0 · old scale + old offset) − c1 · new scale, with c0 and c1 rounded to doubles first. It does nothing when the processor flag at +0x20 of the time manager is set: that flag is the multi-core bit (Multi-core gate).

The derivation is in the doc.