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

Math and numbers #721

Open
evancz opened this Issue Sep 22, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@evancz
Member

evancz commented Sep 22, 2016

The goal of this issue is to organize all of the math related issues in one place and categorize them so something coherent can be done.

API Suggestions

  • #238 - Add equivalent of Number.EPSILON to Basics
  • #190 - Change toFloat to number -> Float
  • #4 - change (%) to act on number types instead of Int
  • #342 - Change String.toFloat to accept NaN and Infinity and e but disallow .1

Math is weird because of JavaScript

  • #590 - integer division by zero
  • #92 - integer division that overflows 32-bits
  • #194 - exponentiation with negative integers
  • #591 - change Basics.truncate to behave differently
  • #862 - you can create NaN of type Int
@process-bot

This comment has been minimized.

Show comment
Hide comment
@process-bot

process-bot Sep 22, 2016

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

process-bot commented Sep 22, 2016

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@evancz evancz added the meta label Sep 22, 2016

@elm elm locked and limited conversation to collaborators Sep 22, 2016

@evancz evancz changed the title from Ideas for how Int and Float should work differently to Math and numbers Sep 22, 2016

@evancz evancz added the request label Mar 7, 2018

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