num_alias 0.1.4

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

num_alias

Crates.io: num_alias Documentation Build Status 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();
}