Re:LibBF – a small library to handle arbitrary precision flo...
by re on Tuesday March 06, 2018 @09:09PM
(#16533816)
Wouldn't jq be better served by a library supporting arbitrary precision decimal values? LibBF is for base-2 floating point.
[ Parent
| on HN ]
Re:LibBF – a small library to handle arbitrary precision flo...
by whyever on Wednesday March 07, 2018 @11:16AM
(#16537358)
Probably yes, because you always want to convert to and from base 10 strings. mpdecimal [1] (which was developed for Python) might be a better choice, because it uses base 10 internally.