Skip to content

Docs for Math #44

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

Merged
merged 5 commits into from
Feb 19, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remote note comment
  • Loading branch information
aspeddro committed Feb 17, 2023
commit b426c77b336238880c6e5eb7b5721075f040aa80
2 changes: 0 additions & 2 deletions src/Core__Math.resi
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,6 @@ module Int: {
*/
@val external pow: (int, ~exp: int) => int = "Math.pow"

// NOTE: In JS `Math.sin(2)` return a float

/**
`sign(a)` returns the sign of its integer argument: `-1` if negative, `0` if
zero, `1` if positive. See [`Math.sign`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/sign) on MDN.
Expand Down