num_alias 0.1.3

simple macros to declare 'type checked' aliases for integers and floats.
Documentation

num_alias

Documentation License: MIT

Provides simple and useful macros to declare 'type checked' aliases for integers and floats.

#[macro_use]
extern crate num_alias;
fn main() {
    float_alias!(Fval, f64);
    let a = Fval(5.0);
    let b = Fval(4.0);
    let c = (a * b).sqrt();
}