mbcp/assets/ja_api_mp_math_const.md.DGXAgDfn.js

2 lines
2.4 KiB
JavaScript
Raw Normal View History

import{_ as a,c as t,o as e,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":"ja/api/mp_math/const.md","filePath":"ja/api/mp_math/const.md"}'),r={name:"ja/api/mp_math/const.md"},c=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>説明</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>説明</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>説明</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>説明</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>説明</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>説明</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>説明</strong>: 约等于判定误差</li></ul>',14),i=[c];function n(l,s,h,d,m,p){return e(),t("div",null,i)}const v=a(r,[["render",n]]);export{u as __pageData,v as default};