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

   ## Summary
   Continues the cast module reorganization tracked in #11032 by extracting the 
decimal → float conversion helpers out of `arrow-cast/src/cast/mod.rs` into a 
new `decimal_to_float` submodule.
   
   Moved (no behavior change):
   - `single_decimal_to_float_lossy`
   - `cast_decimal_to_f64` / `cast_decimal_to_f32`
   - the `*_rounded_once` helpers and `F64_EXACT_INT_LIMIT` / 
`F32_EXACT_INT_LIMIT` consts
   
   The public path `arrow_cast::single_decimal_to_float_lossy` is preserved via 
a re-export from the parent module.
   
   ## Test plan
   - `cargo build -p arrow-cast` ✅
   - `cargo fmt -p arrow-cast -- --check` ✅
   - `cargo test -p arrow-cast test_single_decimal_to_float_lossy` ✅ (decimal 
conversion tests pass)
   
   Closes #11032


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