import{_ase,cast,oasa,Nasr}from"./chunks/framework.0799945b.js";constm=JSON.parse('{"title":"Module: util/bignum","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/util/bignum.md","lastUpdated":null}'),o={name:"api/modules/util/bignum.md"},l=r('<h1id="module-util-bignum"tabindex="-1">Module:util/bignum<aclass="header-anchor"href="#module-util-bignum"aria-label="Permalink to "Module: util/bignum""></a></h1><h2id="references"tabindex="-1">References<aclass="header-anchor"href="#references"aria-label="Permalinkto"References""></a></h2><h3id="default"tabindex="-1">default<aclass="header-anchor"href="#default"aria-label="Permalinkto"default""></a></h3><p>Re-exports<ahref="./../lib/break_eternity#default">default</a></p><h2id="type-aliases"tabindex="-1">TypeAliases<aclass="header-anchor"href="#type-aliases"aria-label="Permalinkto"TypeAliases""></a></h2><h3id="decimalsource"tabindex="-1">DecimalSource<aclass="header-anchor"href="#decimalsource"aria-label="Permalinkto"DecimalSource""></a></h3><p>Ƭ<strong>DecimalSource</strong>:<ahref="./../lib/break_eternity#decimalsource"><code>DecimalSource</code></a></p><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/b666e0c/src/util/bignum.ts#L18"target="_blank"rel="noreferrer">profectus/src/util/bignum.ts:18</a></p><h2id="functions"tabindex="-1">Functions<aclass="header-anchor"href="#functions"aria-label="Permalinkto"Functions""></a></h2><h3id="commaformat"tabindex="-1">commaFormat<aclass="header-anchor"href="#commaformat"aria-label="Permalinkto"commaFormat""></a></h3><p>▸<strong>commaFormat</strong>(<code>num</code>,<code>precision</code>):<code>string</code></p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>num</code></td><tdstyle="text-align:left;"><ahref="./../lib/break_eternity#decimalsource"><code>DecimalSource</code></a></td></tr><tr><tdstyle="text-align:left;"><code>precision</code></td><tdstyle="text-align:left;"><code>number</code></td></tr></tbody></table><h4id="defined-in-1"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in-1"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/b666e0c/src/util/bignum.ts#L8"target="_blank"rel="noreferrer">profectus/src/util/bignum.ts:8</a></p><hr><h3id="exponentialformat"tabindex="-1">exponentialFormat<aclass="header-anchor"href="#exponentialformat"aria-label="Permalinkto"exponentialFormat""></a></h3><p>▸<strong>exponentialFormat</strong>(<code>num</code>,<code>precision</code>,<code>mantissa?</code>):<code>string</code></p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Defaultvalue</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>num</code></td><tdstyle="text-align:left;"><ahref="./../lib/break_eternity#decimalsource"><code>DecimalSource</code></a></td><tdstyle="text-align:left;"><code>undefined</code></td></tr><tr><tdstyle="text-align:left;"><code>precision</code></td><tdstyle="text-align:left;"><code>number</code></td><tdstyle="text-align:left;"><code>undefined</code></td></tr><tr><tdstyle="text-align:left;"><code>mantissa</code></td><tdstyle="text-align:left;"><code>boolean</code></td><tdstyle="text-align:left;"><code>true</code></td></tr></tbody></table><h4id="defined-in-2"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in-2"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/b666e0c/src/util/bignum.ts#L7"target="_blank"rel="noreferrer">profectus/src/util