Skip to content

Commit a74bd60

Browse files
authored
Merge pull request rust-lang#276 from jturner314-nrl/fix-erfc-docs
2 parents dc82800 + 7e93ce9 commit a74bd60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/math/erf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ pub fn erf(x: f64) -> f64 {
263263
}
264264
}
265265

266-
/// Error function (f64)
266+
/// Complementary error function (f64)
267267
///
268268
/// Calculates the complementary probability.
269269
/// Is `1 - erf(x)`. Is computed directly, so that you can use it to avoid

src/math/erff.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ pub fn erff(x: f32) -> f32 {
174174
}
175175
}
176176

177-
/// Error function (f32)
177+
/// Complementary error function (f32)
178178
///
179179
/// Calculates the complementary probability.
180180
/// Is `1 - erf(x)`. Is computed directly, so that you can use it to avoid

0 commit comments

Comments
 (0)