zlacker

[parent] [thread] 2 comments
1. cogman+(OP)[view] [source] 2024-01-16 15:46:10
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.

replies(1): >>adgjls+4k
2. adgjls+4k[view] [source] 2024-01-16 17:18:45
>>cogman+(OP)
what does fma have to do with decimal numbers?
replies(1): >>cogman+gr
◧◩
3. cogman+gr[view] [source] [discussion] 2024-01-16 17:51:47
>>adgjls+4k
Oh shoot, nvm, I thought it was an optimization for integers.

Really it'll be the SIMD style instructions that speeds things up.

[go to top]