s_realmLoadSpread
global · glue
- Address
0xb41fb4· 4 bytes, up to0xb41fb7- Type
float- Meaning
- Holds 0.6 times the population standard deviation, 0 for one realm or none; written by 0x46e510
- Confidence
- verified, proof one
- Finding
- glue/realms#population-statistics
Finding: Population statistics in glue: the realm list
Over the holder's n realms in order (every category, sentinels as replaced), population p:
s = 0, thens = f32(s + p)per realm, the add at 53 bits;m = f32(s / n);a = 0, thena = f32((p − m)² + a)per realm, from the storedm, all at 53 bits;d = f32(sqrt(a / (n − 1)) · 0.6f), 0.6f being0x3f19999a(0.60000002384), at 53 bits.
m goes to 0xb41fb0 and d to 0xb41fb4. With n ≤ 1, m = 1.0 and d = 0.0. A NaN
population makes both NaN, and the band then reads 0 for every realm without a sentinel flag.
The derivation is in the doc.