@ledoian on the contrary, I think that's what you'd do if it _is_ time critical,...
Simon Tatham @simontatham@hachyderm.io
@ledoian on the contrary, I think that's what you'd do if it _is_ time critical, because you're trading off accuracy! My approach is exactly IEEE754 compliant, but slow. The fixed point approach is fast, but has failure cases: if you generate (say) 64 bits below the point, then in 1/2¹³ of cases you suffer loss of significance because the exponent is too small.