Replies: 3 comments
-
Thanks for reporting, I see we have to update this section in the documentation, since for example |
Beta Was this translation helpful? Give feedback.
-
Sorry, I remember now that we downgrade nowhere BigNumbers to numbers anymore, that was the behavior in mathjs v2. That means that Let's just focus on implementing BigNumber support for |
Beta Was this translation helpful? Give feedback.
-
Oops closed the issue accidentally |
Beta Was this translation helpful? Give feedback.
-
In mathjs v3.6.0,
random()
crashes when passed aBigNumber
. The documentation seems to indicate that it should basically work:But when I enter the following (as a minimalist example) at the node prompt:
it produces the following error message:
The exception gets thrown here:
I guess
isNumber
returnsfalse
for BigNumbers...? Or a coercion would need to take place before this check?Beta Was this translation helpful? Give feedback.
All reactions