Skip to content

Suggestion for behavior of SchemeNumber.maxIntegerDigits. #9

@trusktr

Description

@trusktr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions