[Spec Deviation] Incorrect results for reference equality checks with float NaN/NaN and -0.0/+0.0 #11913
Labels
Area/Compiler
Area/JVMCodeGen
JVM code generation module
Priority/Low
Status/Duplicate
Team/jBallerina
All the issues related to BIR, JVM backend code generation and runtime
Type/Bug
Type/SpecDeviation
Description:
Value equality checks for NaN/NaN and -0.0/+0.0 currently evaluate to true as follows:
Reference equality checks for NaN/NaN and -0.0/+0.0 are expected to evaluate to true for:
Currently the reference equality checks fail since we consider the reference equality checks for simple basic types to be the same as value equality checks.
The text was updated successfully, but these errors were encountered: