4 ms·
No nasty tricks - these aren’t NaN or Infinity OK but then the first example is a naive computation of the mean of two enormous numbers. All this really illus
by ams6110 8y ago
No nasty tricks - these aren’t NaN or Infinity
OK but then the first example is a naive computation of the mean of two enormous numbers.
All this really illustrates is that you need to be aware of the range of your inputs and choose a solution that accomodates that.