pethapixels-create opened a new pull request, #12518:
URL: https://github.com/apache/arrow-rs/pull/12518

   Closes #11032
   
   Part of the ongoing effort to split the remaining cast implementations out 
of `arrow-cast/src/cast/mod.rs`.
   
   ## What this does
   Moves the lossy decimal-to-float cast helpers into a new 
`cast::decimal_to_float` module:
   - `single_decimal_to_float_lossy` (public, unchanged signature)
   - `cast_decimal_to_f64` / `cast_decimal_to_f32` (now `pub(crate)`)
   - the `F64_EXACT_INT_LIMIT` / `F32_EXACT_INT_LIMIT` consts
   
   They are re-exported from `cast/mod.rs` (`pub use 
decimal_to_float::single_decimal_to_float_lossy;` + `pub(crate) use ...`), so 
existing consumers such as `cast::decimal` (which does `use crate::cast::*`) 
are unaffected. Pure code motion — no behavior change.
   
   ## Verification
   - `cargo check -p arrow-cast` — clean
   - `cargo test -p arrow-cast --lib cast::decimal` — 11 passed; 0 failed


-- 
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]

Reply via email to