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.
Setting this value to allow exponentiation to be bigger is a nice feature.
My suggestion is to let users assign
schemeNumbers orInfinityto the value ofSchemeNumber.maxIntegerDigitsto have better control over it.For example, let users do things like:
or
A value of
Infinitywould (obviously) mean no limit, while aschemeNumbervalue would allow for limits larger than what can be specified with native JS values.