Merge pull request rust-lang/libm#276 from jturner314-nrl/fix-erfc-docs

This commit is contained in:
Amanieu d'Antras 2023-01-31 22:05:03 +00:00 committed by GitHub
commit a195371867
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