Method
tuple
(...elements: ReadonlyArray<number | Expression>)
Source from the content-addressed store, hash-verified
| 1801 | if (n.isPositive() && n.lte(this._numericConfiguration.bignumTolerance)) |
| 1802 | return 0; |
| 1803 | if ( |
| 1804 | n.isNegative() && |
| 1805 | n.gte(this._numericConfiguration.negBignumTolerance) |
| 1806 | ) |
| 1807 | return 0; |
| 1808 | if (n.isZero()) return 0; |
| 1809 | return n; |
| 1810 | } |
| 1811 | |
| 1812 | if ( |
| 1813 | n instanceof Complex && |
| 1814 | Math.abs(n.re) <= tolerance && |
| 1815 | Math.abs(n.im) <= tolerance |
Callers
nothing calls this directly
Tested by
no test coverage detected