OCaml's compare function as used in JsInterpreterExtraction.v#JsNumber.number_comparable does not distinguish +0 and -0 as number_comparable requires.
number_comparable is used in several places for the explicit +0 -0 tests, in particular the SameValue algorithm.
The following test cases are probably failing in part due to this:
OCaml's
compare
function as used in JsInterpreterExtraction.v#JsNumber.number_comparable does not distinguish +0 and -0 asnumber_comparable
requires.number_comparable
is used in several places for the explicit +0 -0 tests, in particular the SameValue algorithm.The following test cases are probably failing in part due to this:
(This issue is fixed in jsexplain)