Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

phi

Phi or Golden ratio constant (Φ) = (1 + sqrt(5))/2

math.phi
pub const phi = 1.6180339887498948482045868343656381177203091798057628621

File

lib/std/math.zig:16

Code

pub const phi = 1.6180339887498948482045868343656381177203091798057628621