Skip to main content

JCS_SAFE_MAX

Constant JCS_SAFE_MAX 

Source
pub const JCS_SAFE_MAX: u64 = _; // 9_007_199_254_740_992u64
Expand description

Largest integer exactly representable as an IEEE-754 double (2^53).

JCS (RFC 8785) serializes all numbers as doubles; integers above this bound would silently lose precision, corrupting canonical hashes.