JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Static Public Attributes | List of all members
juce::MathConstants< FloatType > Struct Template Reference

Commonly used mathematical constants. More...

#include "juce_MathsFunctions.h"

Static Public Attributes

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

Detailed Description

template<typename FloatType>
struct juce::MathConstants< FloatType >

Commonly used mathematical constants.

@tags{Core}

Definition at line 138 of file juce_MathsFunctions.h.

Member Data Documentation

◆ euler

template<typename FloatType >
constexpr FloatType juce::MathConstants< FloatType >::euler
staticconstexpr

A predefined value for Euler's number.

Definition at line 150 of file juce_MathsFunctions.h.

◆ halfPi

template<typename FloatType >
constexpr FloatType juce::MathConstants< FloatType >::halfPi
staticconstexpr

A predefined value for Pi / 2.

Definition at line 147 of file juce_MathsFunctions.h.

◆ pi

template<typename FloatType >
constexpr FloatType juce::MathConstants< FloatType >::pi
staticconstexpr

A predefined value for Pi.

Definition at line 141 of file juce_MathsFunctions.h.

◆ sqrt2

template<typename FloatType >
constexpr FloatType juce::MathConstants< FloatType >::sqrt2
staticconstexpr

A predefined value for sqrt (2)

Definition at line 153 of file juce_MathsFunctions.h.

◆ twoPi

template<typename FloatType >
constexpr FloatType juce::MathConstants< FloatType >::twoPi
staticconstexpr

A predefined value for 2 * Pi.

Definition at line 144 of file juce_MathsFunctions.h.


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