#include <constants.hpp>
Static Public Member Functions | |
| static const eT | pi () |
| ratio of any circle's circumference to its diameter | |
| static const eT | e () |
| base of the natural logarithm | |
| static const eT | euler () |
| Euler's constant, aka Euler-Mascheroni constant. | |
| static const eT | gratio () |
| golden ratio | |
| static const eT | sqrt2 () |
| square root of 2 | |
| static const eT | eps () |
| the difference between 1 and the least value greater than 1 that is representable | |
| static const eT | log_min () |
| log of the minimum representable value | |
| static const eT | log_max () |
| log of the maximum representable value | |
Definition at line 25 of file constants.hpp.
| static const eT Math< eT >::pi | ( | ) | [inline, static] |
ratio of any circle's circumference to its diameter
Definition at line 30 of file constants.hpp.
| static const eT Math< eT >::e | ( | ) | [inline, static] |
base of the natural logarithm
Definition at line 33 of file constants.hpp.
| static const eT Math< eT >::euler | ( | ) | [inline, static] |
Euler's constant, aka Euler-Mascheroni constant.
Definition at line 36 of file constants.hpp.
| static const eT Math< eT >::gratio | ( | ) | [inline, static] |
golden ratio
Definition at line 39 of file constants.hpp.
| static const eT Math< eT >::sqrt2 | ( | ) | [inline, static] |
square root of 2
Definition at line 42 of file constants.hpp.
| static const eT Math< eT >::eps | ( | ) | [inline, static] |
the difference between 1 and the least value greater than 1 that is representable
Definition at line 45 of file constants.hpp.
| static const eT Math< eT >::log_min | ( | ) | [inline, static] |
log of the minimum representable value
Definition at line 48 of file constants.hpp.
00048 { static const eT out = std::log(std::numeric_limits<eT>::min()); return out; }
| static const eT Math< eT >::log_max | ( | ) | [inline, static] |
log of the maximum representable value
Definition at line 51 of file constants.hpp.
00051 { static const eT out = std::log(std::numeric_limits<eT>::max()); return out; }