Skip to content
This repository has been archived by the owner on Jul 31, 2018. It is now read-only.

+0/-0 not distinguished #43

Open
IgnoredAmbience opened this issue Nov 8, 2016 · 0 comments
Open

+0/-0 not distinguished #43

IgnoredAmbience opened this issue Nov 8, 2016 · 0 comments

Comments

@IgnoredAmbience
Copy link
Member

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:

  • 15.2.3.6-4-64.js
  • 15.2.3.6-4-65.js
  • 15.2.3.6-4-86.js
  • 15.2.3.6-4-87.js
  • 15.2.3.6-4-218.js
  • 15.2.3.6-4-219.js
  • 15.2.3.6-4-246.js
  • 15.2.3.6-4-247.js

(This issue is fixed in jsexplain)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant