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

Support several more numerical operations. #168

Merged
merged 6 commits into from
Feb 19, 2024

Conversation

wmedrano
Copy link
Contributor

No description provided.

@wmedrano
Copy link
Contributor Author

wmedrano commented Feb 18, 2024

After this PR:

Implemented

  • -
  • *
  • +
  • /
  • abs
  • ceiling
  • denominator
  • expt
  • floor
  • numerator
  • quotient
  • round
  • square
  • number?
  • complex?
  • real?
  • rational?
  • integer? - r7rs specifies that (integer? 7.0) should return #t, Steel returns #f.
  • exact-integer?
  • exact?
  • inexact?
  • finite?
  • infinite?
  • odd?
  • even?
  • number->string
  • string->number
  • exact->inexact
  • inexact -> exact

Pending

  • exact-integer-sqrt
  • floor/
  • floor-quotient
  • floor-remainder
  • gcd
  • lcm
  • max
  • min
  • modulo
  • rationalize
  • remainder
  • truncate
  • truncate/
  • truncate-quotient
  • truncate-remainder
  • nan?
  • zero?
  • positive?
  • negative?
  • sqrt
  • make-rectangular
  • make-polar
  • real-part
  • imag-part
  • magnitude
  • angle
  • inexact
  • exact

@mattwparas
Copy link
Owner

Ready for review?

@wmedrano
Copy link
Contributor Author

Ready for review.

@mattwparas
Copy link
Owner

Thanks!

@mattwparas mattwparas merged commit 649029e into mattwparas:master Feb 19, 2024
3 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.

2 participants