mbcp/assets/zht_api_mp_math_const.md.D9eBwcNw.js

2 lines
2.5 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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