Skip to content
FutureBlitz

    Install

    Import std.math.constants

    Pi

    std.math.constants

    const

    Public Const Pi: Float = 3.14159265358979323846

    Pi, half a turn: a circle's circumference over its diameter.

    Examples

    
    Expect(IsClose(Sin(Pi / 2), 1.0))
    Expect(Tau == 2 * Pi)
    Expect(Pi64 > 3.14159265358 && Pi64 < 3.14159265359)

    std/math/constants.fb, line 19

    Report an issue with this page or with FutureBlitz on GitHub.