double-int
The double-int format represents an integer that can be stored in an IEEE 754 double-precision number without loss of precision.
This crate has been designed for use with OpenAPI tooling that wish to support integer-based format: double-int
fields. See docs in the OpenAPI format registry.
Examples
let config = .unwrap;
assert_eq!;
let config = .unwrap;
assert_eq!;
// count is outside the bounds of a double-int (> 2^53 in this case)
// (this would usually be accepted by an i64)
let config = .unwrap_err;