PlayRho  2.0.0
An interactive physics engine & library.
RealConstants.hpp File Reference

Definitions file for constant expressions of type Real. More...

#include <playrho/Real.hpp>
Include dependency graph for RealConstants.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 playrho
 

Variables

constexpr auto playrho::Centi = Real(1e-2)
 Centi- (1 x 10^-2). More...
 
constexpr auto playrho::Deci = Real(1e-1)
 Deci- (1 x 10^-1). More...
 
constexpr auto playrho::Giga = Real(1e9)
 Giga- (1 x 10^9). More...
 
constexpr auto playrho::Kilo = Real(1e3)
 Kilo- (1 x 10^3). More...
 
constexpr auto playrho::Mega = Real(1e6)
 Mega- (1 x 10^6). More...
 
constexpr auto playrho::Peta = Real(1e15)
 Peta- (1 x 10^15). More...
 
constexpr auto playrho::Pi = Real(3.14159265358979323846264338327950288L)
 Pi. More...
 
constexpr auto playrho::SquareRootTwo
 Square root of two. More...
 
constexpr auto playrho::Tera = Real(1e12)
 Tera- (1 x 10^12). More...
 
constexpr auto playrho::Yotta = Real(1e24)
 Yotta- (1 x 10^24). More...
 

Detailed Description

Definitions file for constant expressions of type Real.

This file defines physically dimensionless or unitless constant expression quantities of the Real type.

See also
https://en.wikipedia.org/wiki/Dimensionless_quantity