Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[jvm]Passing a floating point number to Reflect.compare returns a wrong number #10350

Closed
paq opened this issue Aug 13, 2021 · 0 comments
Closed
Labels
bug platform-jvm Everything related to JVM
Milestone

Comments

@paq
Copy link

paq commented Aug 13, 2021

In Java, the following code prints -1, while in JVM prints 0.

trace(Reflect.compare(0.1, 0.2));

Environment:
haxe 4.2.3
Windows 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug platform-jvm Everything related to JVM
Projects
None yet
Development

No branches or pull requests

2 participants