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

fix: incorrect comment on Math.sign #249

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Conversation

JUSTIVE
Copy link
Contributor

@JUSTIVE JUSTIVE commented Dec 2, 2024

image

Math.sign(negative_value) should be -1.0 instead of 1.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link
Member

@cknitt cknitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

rescript-core is now already integrated in the compiler repo for ReScript 12.
Could you do the same fix there?
https://github.com/rescript-lang/rescript/blob/master/runtime/Math.resi

@cknitt cknitt merged commit f042582 into rescript-lang:main Dec 3, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants