You are reading a single comment by @TiCPU and its replies. Click here to read the full conversation.
  • For the octal part, 019 gets me an non-octal SyntaxError in Firefox, however, Espruino doesn't handle exceptions at the moment, so I guess either it should stay as-is or output NaN.

    As for the 2 constants, I guess this is a normal behaviour in the case of how floats are implemented on hardware. It can not be more precise than the hardware itself.

About

Avatar for TiCPU @TiCPU started