-
Error:
```
Uncaught Error: overflow [ See: https://links.ethers.org/v5-errors-NUMERIC_FAULT-overflow ] (fault="overflow", operation="toNumber", value="9007200921603363", code=NUMERIC_FAULT, version=…
-
## Overview
Presently, there are places in the code where `BigNumber`s are treated like javascript numbers, resulting in unintentional loss of precision, as well as unexpected complexity in modifying…
-
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#dataTypes
Apparently `long` maps (through JSON Schema) into JSON Number.
This is in conflict with I-JSON: https://tools…
-
```ts
> math.equal(6.65 - 3.32 - 3.33, 0)
false
```
I'd like the result to be `true` and can't figure out a way to do that with math.js without my own hacks. What's the right way to do this?
-
I can't multiply _bignumbers_ and _fractions_. Here's a failing test I added to function\arithmetic\multiply.test.js:
```
it('should multiply mixed fractions and big numbers', function() {
assert.e…
-
When reading the genesis json file (with JSON.parse) and then rewriting (with JSON.stringify), it gets the wrong type (which I suppose it is when reading the json file)
original:
```
[
"0x7735…
-
Here we'll collect the breaking changes for `v8`.
- [ ] Replace the built-in `Unit` with `unitmath`. See #1486
- [ ] Change the behavior of the `{number: 'BigNumber'}` config: should convert numer…
-
We moved from Ethers v5 BigNumbers to native JS BigInts in #258.
While the UX has been generally fine, the native `JSON.stringify` does not support BigInts so the users might get `Do not know how t…
-
We came across [the docs for bignumber](http://mathjs.org/docs/datatypes/bignumbers.html) and were excited to see the `bignumber` config. Once we played around with it for a while, we were surprised t…
-
Hello there,
I was attacking Project Euler, problem 26:
> "Find the value of d