import{_ as a,c as e,o as t,a2 as o}from"./chunks/framework.C94oF1kp.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const","editLink":false},"headers":[],"relativePath":"en/api/mp_math/const.md","filePath":"en/api/mp_math/const.md"}'),r={name:"en/api/mp_math/const.md"},i=o('<h1 id="mbcp-mp-math-const" tabindex="-1">mbcp.mp_math.const <a class="header-anchor" href="#mbcp-mp-math-const" aria-label="Permalink to &quot;mbcp.mp_math.const&quot;">​</a></h1><p><strong>Description</strong>: 本模块定义了一些常用的常量</p><h3 id="var-pi-math-pi" tabindex="-1">var <code>PI</code> = <code>math.pi</code> <a class="header-anchor" href="#var-pi-math-pi" aria-label="Permalink to &quot;var `PI` = `math.pi`&quot;">​</a></h3><ul><li><strong>Description</strong>: 常量 π</li></ul><h3 id="var-e-math-e" tabindex="-1">var <code>E</code> = <code>math.e</code> <a class="header-anchor" href="#var-e-math-e" aria-label="Permalink to &quot;var `E` = `math.e`&quot;">​</a></h3><ul><li><strong>Description</strong>: 自然对数的底 exp(1)</li></ul><h3 id="var-golden-ratio-1-math-sqrt-5-2" tabindex="-1">var <code>GOLDEN_RATIO</code> = <code>(1 + math.sqrt(5)) / 2</code> <a class="header-anchor" href="#var-golden-ratio-1-math-sqrt-5-2" aria-label="Permalink to &quot;var `GOLDEN_RATIO` = `(1 + math.sqrt(5)) / 2`&quot;">​</a></h3><ul><li><strong>Description</strong>: 黄金分割比</li></ul><h3 id="var-gamma-0-5772156649015329" tabindex="-1">var <code>GAMMA</code> = <code>0.5772156649015329</code> <a class="header-anchor" href="#var-gamma-0-5772156649015329" aria-label="Permalink to &quot;var `GAMMA` = `0.5772156649015329`&quot;">​</a></h3><ul><li><strong>Description</strong>: 欧拉常数</li></ul><h3 id="var-epsilon-0-0001" tabindex="-1">var <code>EPSILON</code> = <code>0.0001</code> <a class="header-anchor" href="#var-epsilon-0-0001" aria-label="Permalink to &quot;var `EPSILON` = `0.0001`&quot;">​</a></h3><ul><li><strong>Description</strong>: 精度误差</li></ul><h3 id="var-approx-0-001" tabindex="-1">var <code>APPROX</code> = <code>0.001</code> <a class="header-anchor" href="#var-approx-0-001" aria-label="Permalink to &quot;var `APPROX` = `0.001`&quot;">​</a></h3><ul><li><strong>Description</strong>: 约等于判定误差</li></ul>',14),c=[i];function n(s,l,h,d,m,p){return t(),e("div",null,c)}const v=a(r,[["render",n]]);export{u as __pageData,v as default};
