//! Conversions between the model's integers and floats, in one place:
//! an integer read as a number is the nearest float, and a float reads as
//! an integer only when it is whole and exact.
/// The largest float magnitude read as an integer: below 2^53, every whole
/// float is an exact integer.
const EXACT_LIMIT: f64 = 9.0e15;
/// `n` as the nearest float (exact below 2^53, as JSON readers have it).
pub
/// `f` as an integer, if it is whole and below 2^53 (so exact).
pub