MCPcopy Create free account
hub / github.com/apache/datafusion / test_next_down_small_negative_f32

Function test_next_down_small_negative_f32

datafusion/common/src/rounding.rs:390–394  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

388 }
389 #[test]
390 fn test_next_down_small_negative_f32() {
391 let value: f32 = -1.0;
392 let result = next_down(value);
393 assert_eq!(result, -1.0000001);
394 }
395 #[test]
396 fn test_next_down_neg_infinity_f32() {
397 let value: f32 = f32::NEG_INFINITY;

Callers

nothing calls this directly

Calls 1

next_downFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…