3 ms·
Why is that NaN handling sensible? I don't think it makes sense to say log(-1) equals log(-2). Mathematically it isn't true and your implementation would say it
by z_open 6mo ago
Why is that NaN handling sensible? I don't think it makes sense to say log(-1) equals log(-2). Mathematically it isn't true and your implementation would say it's true only because of limitations in IEEE754.
- xigoi 5mo agoMathematically it’s also not true that 2³⁰⁹ = +∞. You simply can’t expect correct results from floats.