public static boolean isDefaultValue ( int semantics , double v ) { return NumberUtils . doubleToInt64Bits ( _defaultValues [ semantics ] ) == NumberUtils . doubleToInt64Bits ( v ) ; }
Checks if the given value is the default one . The simple equality test with GetDefaultValue does not work due to the use of NaNs as default value for some parameters .