Main Site Documentation

Request: System.Single completion


#1

System.Single is missing a bunch of fields that System.Double has. E.g. Single.NaN, Single.IsNaN, etc.

Scenario: Checking for default values when reading from EEPROM, default values are all 255 which when converted to single yields NaN.

I’m currently working around it by converting single values to double and using Double.IsNan((double)value).


#2

We will look into adding support, but as you found, converting to double is the work around for now.