import{_ as a,c as o,o as e,a4 as t}from"./chunks/framework.DpC1ZpOZ.js";const _=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const","lastUpdated":false},"headers":[],"relativePath":"en/api/mp_math/const.md","filePath":"en/api/mp_math/const.md"}'),r={name:"en/api/mp_math/const.md"},l=t('
mbcp.mp_math.const
本模块定义了一些常用的常量
PI
Description: 常量 π
Default: math.pi
E
Description: 自然对数的底 exp(1)
Default: math.e
GOLDEN_RATIO
Description: 黄金分割比
Default: (1 + math.sqrt(5)) / 2
GAMMA
Description: 欧拉常数
Default: 0.5772156649015329
EPSILON
Description: 精度误差
Default: 0.0001
APPROX
Description: 约等于判定误差
Default: 0.001