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

Suggestion for behavior of SchemeNumber.maxIntegerDigits. #9

Open
trusktr opened this issue Dec 5, 2013 · 0 comments
Open

Suggestion for behavior of SchemeNumber.maxIntegerDigits. #9

trusktr opened this issue Dec 5, 2013 · 0 comments

Comments

@trusktr
Copy link

trusktr commented Dec 5, 2013

Setting this value to allow exponentiation to be bigger is a nice feature.

My suggestion is to let users assign schemeNumbers or Infinity to the value of SchemeNumber.maxIntegerDigits to have better control over it.

For example, let users do things like:

SchemeNumber.maxIntegerDigits = Infinity;

or

SchemeNumber.maxIntegerDigits = SchemeNumber("100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000");

A value of Infinity would (obviously) mean no limit, while a schemeNumber value would allow for limits larger than what can be specified with native JS values.

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

No branches or pull requests

1 participant