The function frac_pi_2 exists in the std::num::Float trait. You can call it like: let p2: f64 ... Getting access to rust's std library constants ...
確定! 回上一頁