Bellow an example of eulers identity is shown.
e^(i * pi) = -1
use levitate::*; assert_eq!( im(std::f32::consts::PI).exp_().re, -1. );
Heavy inspiration has been taken from crates listed bellow.
Fast Floats
Same as unsafe{ Fast::new(f) }
unsafe{ Fast::new(f) }
Same as Complex{re: 0., im: f}
Complex{re: 0., im: f}
Same as Complex{re: f, im: 0.}
Complex{re: f, im: 0.}