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":"api/mp_math/const.md","filePath":"zh/api/mp_math/const.md"}'),r={name:"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