3 ms·
It seems that abs should be as simple as ANDing with a bitmask that has the sign bit set to 0 for IEEE floating point.
by nitrogen 11y ago
It seems that abs should be as simple as ANDing with a bitmask that has the sign bit set to 0 for IEEE floating point.
- blt 11y agoIt is, floating point abs is practically free