metesynnada opened a new pull request, #6048: URL: https://github.com/apache/arrow-datafusion/pull/6048
# Which issue does this PR close? Closes #5974. # Rationale for this change This PR adds support for `Float32` and `Float64` interval arithmetic, ensuring reliability and accuracy in computations by controlling rounding modes as per the IEEE 754 floating-point standard. # What changes are included in this PR? - Implemented support for `Float32` and `Float64` interval arithmetic - Utilized the libc library for controlling rounding modes temporarily, until Rust gets fenv support - Implemented custom `next_up` and `next_down` functions for `f32` and `f64`, which will be replaced by Rust's built-in functions once the unstable feature becomes stable and the tracking issue for the unstable Rust feature (https://github.com/rust-lang/rust/issues/91399) # Are these changes tested? - Added new tests to cover `Float32` and `Float64` interval arithmetic operations, including custom next_up and next_down functions - Ensured existing tests pass with the new changes # Are there any user-facing changes? Users will now be able to use `Float32` and `Float64` in interval arithmetic, meaning that executors using the interval library now support float operations. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
