Open nelsonic opened 5 years ago
We just recently needed convert value to single-precision, but we weren't thinking about arithmetic precision. So thank you for Elzor's article :-)
About the finance, NobbZ pointed a couple of links on elixirforum a half year ago. Maybe it could be useful...
and one from LostKobrakai: Introduction to Money
@ondrej-tucek thanks for sharing links. 🥇
Start by reading: https://floating-point-gui.de and http://0.30000000000000004.com
@Elzor wrote a great intro to Arbitrary-precision arithmetic in Erlang and Elixir: https://medium.com/@vonmo/arbitrary-precision-arithmetic-in-erlang-and-elixir-4b3e7e95febb related: https://stackoverflow.com/questions/7662850/precision-in-erlang
The reason I'm opening this issue is because I am investigating if we can use Elixir for finance. And if so, are there any specific libraries that are recommended.
EAPA is a NIF (Native Implemented Function) extension written on Rust: https://github.com/Vonmo/eapa