3 ms·
For scalar computations 32 bit floats are not going to be faster except maybe divisions. There are second order effects due the reduced memory usage. For anyth
by gpderetta 5y ago
For scalar computations 32 bit floats are not going to be faster except maybe divisions. There are second order effects due the reduced memory usage.
For anything that is vectorizable or otherwise amenable to SIMD optimizations you can get up to 2x speedup.
- adgjlsfhk1 5y agoAll the transcendental functions are also an extra 2-4x slower for Float64 since you need higher order approximations, and the compensated arithmetic is slower.