4 ms·
Cast to IEEE754 binary floating point number, perform exp()/sin/..., and cast back. In any case, I don't think DEC64 is intended for those users that need to u
by tomp 13y ago
Cast to IEEE754 binary floating point number, perform exp()/sin/..., and cast back.
In any case, I don't think DEC64 is intended for those users that need to use cos() et al.
- ErsatzVerkehr 13y ago> In any case, I don't think DEC64 is intended for those users that need to use cos() et al He apparently has other ideas: "DEC64 is intended to be the only number type in the next generation of application programming languages."
- NkVczPkybiXICG 13y agoCasting back and forth is extremely slow. He has a loop with multiplication by 10 inside it in dec_new.