dzhang314 / MultiFloats.jl

Fast, SIMD-accelerated extended-precision arithmetic for Julia
MIT License
77 stars 10 forks source link

Implement String -> MultiFloat conversion #2

Closed dzhang314 closed 3 years ago

dzhang314 commented 5 years ago

This is hard to do in a fashion that guarantees the MultiFloat -> String -> MultiFloat round-trip conversion exactly reconstructs the original value, due to the variable-sized gaps between the components of a MultiFloat. We may ultimately want two conversion pathways: one that guarantees round-trip reconstructibility, and one that produces a nice readable result.

dzhang314 commented 3 years ago

Implemented a method that should guarantee round-trip reproducibility in this commit.