Movement against float.init being nan

Walter Bright newshound2 at digitalmars.com
Fri Aug 26 16:07:55 UTC 2022


On 8/25/2022 11:13 PM, bauss wrote:
> That's why my response to it said it should be Error and not Exception, your 
> program is effectively dead if you ever operate on NaN.

NaN has another use. If, say, your data collection is incomplete (like having a 
dead pixel in an array of sensors), giving that data point a NaN helps show what 
part of the results of the data analysis is dependent on the missing data.


More information about the Digitalmars-d mailing list