logoalt Hacker News

lxgryesterday at 1:35 PM1 replyview on HN

> The only real correct solution here is to send mantissa and exponent as two separate integers.

That’s essentially the same thing as a String-serialized big decimal, just less readable, no?


Replies

gmm1990yesterday at 3:13 PM

That’s quite a bit slower to process. At least if you’re converting to integers to do the calculations and the calculations would be quite a bit slower if you kept the big decimal type

show 1 reply