Macro useful_macro::powf
source · [−]macro_rules! powf {
($a:expr,$b:expr) => { ... };
}Expand description
powf!(a,b) can be used to a to the power of b
use useful_macro::*;
let p = powf!(2.,2.);
assert_eq!(p,4.0);macro_rules! powf {
($a:expr,$b:expr) => { ... };
}powf!(a,b) can be used to a to the power of b
use useful_macro::*;
let p = powf!(2.,2.);
assert_eq!(p,4.0);