fixnum 0.9.5

Fixed-point numbers with explicit rounding
Documentation
1
2
3
4
5
6
7
8
9
// Ensure that `fixnum_const` function fails compilation with first argument of incorrect format:
// with a too long fractional part of a number.

use fixnum::{fixnum_const, typenum::U9, FixedPoint};

#[allow(dead_code)]
const VALUE: FixedPoint<i64, U9> = fixnum_const!(0.1234567891, 9);

fn main() {}