Urgau commented on issue #1043:
URL: https://github.com/apache/arrow-rs/issues/1043#issuecomment-995587006


   > I bisected the 1e-15 conversion regression down to this change-set between 
nightlies.
   > 
   > 
[rust-lang/[email protected]](https://github.com/rust-lang/rust/compare/1af55d19c...efd048394)
   
   From your range of commit you can see that there is a commit named 
[Automatic exponential formatting in 
Debug](https://github.com/rust-lang/rust/commit/8731d4dfb479914a91f650f4f124528e332e8128)
 that added an internal logic that switch to the exponential representation in 
some cases when using the `Debug` formatter.
   Rust make no promises about `Debug` formatting and can change it's output 
anytime for any reason but this is not the case for the `Display` formatter 
which has guaranties for how it display thing.
   
   I would suggest changing your formatting to the `Display` (ie `write!(f, 
"{:?}", value)` -> `write!(f, "{}", value)`) formatter.


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