diff --git a/src/math/erf.rs b/src/math/erf.rs index 5e21ba57..55569aff 100644 --- a/src/math/erf.rs +++ b/src/math/erf.rs @@ -263,7 +263,7 @@ pub fn erf(x: f64) -> f64 { } } -/// Error function (f64) +/// Complementary error function (f64) /// /// Calculates the complementary probability. /// Is `1 - erf(x)`. Is computed directly, so that you can use it to avoid diff --git a/src/math/erff.rs b/src/math/erff.rs index f74d4b63..7b25474f 100644 --- a/src/math/erff.rs +++ b/src/math/erff.rs @@ -174,7 +174,7 @@ pub fn erff(x: f32) -> f32 { } } -/// Error function (f32) +/// Complementary error function (f32) /// /// Calculates the complementary probability. /// Is `1 - erf(x)`. Is computed directly, so that you can use it to avoid