4 ms·
You really wouldn't want to use any of these algorithms on doubles (certainly not in the general case). Think of NaNs, infinities, operands that are vastly dif
by aix1 5y ago
You really wouldn't want to use any of these algorithms on doubles (certainly not in the general case).
Think of NaNs, infinities, operands that are vastly different in magnitude (e.g. try calculating (1e10 + 1e-10 - 1e10)) and so on.