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('
mbcp.mp_math.const
本模块定义了一些常用的常量
PI
説明: 常量 π
默認值: math.pi
E
説明: 自然对数的底 exp(1)
默認值: math.e
GOLDEN_RATIO
説明: 黄金分割比
默認值: (1 + math.sqrt(5)) / 2
GAMMA
説明: 欧拉常数
默認值: 0.5772156649015329
EPSILON
説明: 精度误差
默認值: 0.0001
APPROX
説明: 约等于判定误差
默認值: 0.001