You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently (latest break_infinity.js version as of 2023-01-11), attempting to convert a BigInt value to Decimal will throw an error with the following message from within the toString function: TypeError: t.indexOf is not a function (where t is the input argument).
For example, new Decimal(1000n) should return a Decimal representing the number 1000 but currently throws an error. new Decimal(2n**1234n) should return a Decimal whose value is approximately 2.958112e371 but also throws an error.
Currently (latest
break_infinity.js
version as of 2023-01-11), attempting to convert a BigInt value to Decimal will throw an error with the following message from within thetoString
function:TypeError: t.indexOf is not a function
(wheret
is the input argument).For example,
new Decimal(1000n)
should return a Decimal representing the number 1000 but currently throws an error.new Decimal(2n**1234n)
should return a Decimal whose value is approximately 2.958112e371 but also throws an error.A similar issue exists for
break_eternity.js
: Patashu/break_eternity.js#142The text was updated successfully, but these errors were encountered: