Function phi
Source pub fn phi(_args: &[Value]) -> Result<Value, RuntimeError>
Expand description
黄金比例 φ (PHI)
返回数学常数 φ(黄金比例)。
§返回值
Number - φ ≈ 1.618033988749895
黄金比例在几何、艺术和自然界中广泛出现。
Set phi PHI() # 1.618033988749895
Set ratio PHI() # 黄金分割比例
Set fibonacci PHI() * PHI() # φ² ≈ 2.618