JUCE
Loading...
Searching...
No Matches
MathConstants< FloatType > Struct Template Reference

Commonly used mathematical constants. More...

#include <juce_MathsFunctions.h>

Static Public Attributes

static const FloatType pi
 A predefined value for Pi.
 
static const FloatType twoPi
 A predefined value for 2 * Pi.
 
static const FloatType halfPi
 A predefined value for Pi / 2.
 
static const FloatType euler
 A predefined value for Euler's number.
 
static const FloatType sqrt2
 A predefined value for sqrt(2)
 

Detailed Description

template<typename FloatType>
struct MathConstants< FloatType >

Commonly used mathematical constants.

Member Data Documentation

◆ pi

◆ twoPi

template<typename FloatType>
const FloatType MathConstants< FloatType >::twoPi
static

◆ halfPi

template<typename FloatType>
const FloatType MathConstants< FloatType >::halfPi
static

A predefined value for Pi / 2.

◆ euler

template<typename FloatType>
const FloatType MathConstants< FloatType >::euler
static

A predefined value for Euler's number.

◆ sqrt2

template<typename FloatType>
const FloatType MathConstants< FloatType >::sqrt2
static

The documentation for this struct was generated from the following file: