4 ms·
The main problem with floats in general is they are designed primarily for scientific computing. We are fortunately starting to see newer (well, not that new n
by cogman10 3y ago
The main problem with floats in general is they are designed primarily for scientific computing.
We are fortunately starting to see newer (well, not that new now) CPU instructions like FMA that make more accurate decimal representations not take such huge performance hits.
- adgjlsfhk1 3y agowhat does fma have to do with decimal numbers?
- cogman10 3y agoOh shoot, nvm, I thought it was an optimization for integers. Really it'll be the SIMD style instructions that speeds things up.