We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 823a6bf commit c310216Copy full SHA for c310216
tests/pass/float.rs
@@ -1424,6 +1424,8 @@ fn test_non_determinism() {
1424
ensure_nondet(|| 1.0f32.atan2(2.0f32));
1425
ensure_nondet(|| 0.5f32.atanh());
1426
ensure_nondet(|| 5.0f32.gamma());
1427
+ ensure_nondet(|| 5.0f32.erf());
1428
+ ensure_nondet(|| 5.0f32.erfc());
1429
}
1430
pub fn test_operations_f64(a: f64, b: f64) {
1431
test_operations_f!(a, b);
@@ -1446,6 +1448,8 @@ fn test_non_determinism() {
1446
1448
ensure_nondet(|| 1.0f64.tanh());
1447
1449
ensure_nondet(|| 0.5f64.atanh());
1450
ensure_nondet(|| 5.0f64.gamma());
1451
+ ensure_nondet(|| 5.0f64.erf());
1452
+ ensure_nondet(|| 5.0f64.erfc());
1453
1454
pub fn test_operations_f128(a: f128, b: f128) {
1455
0 commit comments