Fix descriptions of erfc and erfcf

As described in the second paragraph of the docs for these functions, they are
the complementary error function, not the error function.
This commit is contained in:
James D. Turner 2023-01-20 13:39:41 -05:00
parent 5653205326
commit 929b5841db
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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