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

Function test_next_up_small_negative_f32

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

Source from the content-addressed store, hash-verified

362
363 #[test]
364 fn test_next_up_small_negative_f32() {
365 let value: f32 = -1.0;
366 let result = next_up(value);
367 assert_eq!(result, -0.99999994);
368 }
369
370 #[test]
371 fn test_next_up_pos_infinity_f32() {

Callers

nothing calls this directly

Calls 1

next_upFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…