Fixed ERRAI-506: Support for NaN, positive and negative infinity for Double and Float values