swift
Loading...
Searching...
No Matches
constants.h File Reference

Go to the source code of this file.

Namespaces

namespace  swift::misc
 Free functions in swift::misc.

Variables

constexpr double swift::misc::math::c_pi = std::numbers::pi
 PI.
constexpr double swift::misc::math::c_pihalf = c_pi / 2
 PI / 2.
constexpr double swift::misc::math::c_pi2 = c_pi * 2
 PI * 2.

Variable Documentation

◆ c_pi

double swift::misc::math::c_pi = std::numbers::pi
constexpr

PI.

Definition at line 14 of file constants.h.

◆ c_pi2

double swift::misc::math::c_pi2 = c_pi * 2
constexpr

PI * 2.

Definition at line 20 of file constants.h.

◆ c_pihalf

double swift::misc::math::c_pihalf = c_pi / 2
constexpr

PI / 2.

Definition at line 17 of file constants.h.