Rename frac_2_sqrtpi -> frac_2_sqrt_pi
This commit is contained in:
parent
e3962e8775
commit
9d428be8b4
|
@ -36,7 +36,7 @@ pub trait BaseFloat: Float + Cast<f64> + BaseNum {
|
|||
/// 2.0 / pi.
|
||||
fn frac_2_pi() -> Self;
|
||||
/// 2.0 / sqrt(pi).
|
||||
fn frac_2_sqrtpi() -> Self;
|
||||
fn frac_2_sqrt_pi() -> Self;
|
||||
|
||||
/// Euler's number.
|
||||
fn e() -> Self;
|
||||
|
@ -424,7 +424,7 @@ macro_rules! impl_base_float(
|
|||
}
|
||||
|
||||
/// 2.0 / sqrt(pi).
|
||||
fn frac_2_sqrtpi() -> $n {
|
||||
fn frac_2_sqrt_pi() -> $n {
|
||||
$n::consts::FRAC_2_SQRT_PI
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue