3 ms·
I’m not going to defend other js parts, but calls on 0.1 + 0.2 != 0.3 and the type of nan both present the author as a non-skilled programmer at least. Big numb
by wruza 7y ago
I’m not going to defend other js parts, but calls on 0.1 + 0.2 != 0.3 and the type of nan both present the author as a non-skilled programmer at least. Big numbers and exact decimal-point numbers are out of scope of almost any general purpose language core for a reason. It is up to a programmer to decide whether this reason is applicable or not, but not blindly dismissing. Math is a+b, engineering is “%.14g”.