|
|
|
|
|
by morelisp
1403 days ago
|
|
Zero is gracefully handled; the mean of a zero-sized set is best represented by NaN, and this would be idiomatic in most languages' IEEE754-style handling. Saturation is not. This is what really bugs me: If I'm going to drag in a billion GPUs of external computation (or a dependency, which is basically the same thing but with human brains), I want it to provide the hard algorithm I can't write, not the easy one I can. I am not limited by typing speed. I also wonder what a "detection" is. |
|
(Also, in--say--Ruby and JavaScript 1.0/0.0 is Infinity and not NaN.)