6 ms·
well suited for decimal money, though to be fair that's just about all money these days. Adding or subtracting numbers with any fractional part hits the "slow
by jepler 9y ago
well suited for decimal money, though to be fair that's just about all money these days.
Adding or subtracting numbers with any fractional part hits the "slow path". A slightly more clever implementation could add "equal exponent" values in the not-quite-so-fast path (xor exponents, giving zero in dl; if zero, store zero back to cl and do the integer add) (but does this hit partial register access pipeline penalties? probably)