OpenShot Audio Library | OpenShotAudio 0.3.2
Loading...
Searching...
No Matches
juce::MathConstants< FloatType > Struct Template Reference

#include <juce_MathsFunctions.h>

Static Public Attributes

static const FloatType pi = static_cast<FloatType> (3.141592653589793238L)
 
static const FloatType twoPi = static_cast<FloatType> (2 * 3.141592653589793238L)
 
static const FloatType halfPi = static_cast<FloatType> (3.141592653589793238L / 2)
 
static const FloatType euler = static_cast<FloatType> (2.71828182845904523536L)
 
static const FloatType sqrt2 = static_cast<FloatType> (1.4142135623730950488L)
 

Detailed Description

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

Commonly used mathematical constants

Definition at line 362 of file juce_MathsFunctions.h.

Member Data Documentation

◆ euler

template<typename FloatType >
const FloatType juce::MathConstants< FloatType >::euler = static_cast<FloatType> (2.71828182845904523536L)
static

A predefined value for Euler's number

Definition at line 374 of file juce_MathsFunctions.h.

◆ halfPi

template<typename FloatType >
const FloatType juce::MathConstants< FloatType >::halfPi = static_cast<FloatType> (3.141592653589793238L / 2)
static

A predefined value for Pi / 2

Definition at line 371 of file juce_MathsFunctions.h.

◆ pi

template<typename FloatType >
const FloatType juce::MathConstants< FloatType >::pi = static_cast<FloatType> (3.141592653589793238L)
static

A predefined value for Pi

Definition at line 365 of file juce_MathsFunctions.h.

◆ sqrt2

template<typename FloatType >
const FloatType juce::MathConstants< FloatType >::sqrt2 = static_cast<FloatType> (1.4142135623730950488L)
static

A predefined value for sqrt(2)

Definition at line 377 of file juce_MathsFunctions.h.

◆ twoPi

template<typename FloatType >
const FloatType juce::MathConstants< FloatType >::twoPi = static_cast<FloatType> (2 * 3.141592653589793238L)
static

A predefined value for 2 * Pi

Definition at line 368 of file juce_MathsFunctions.h.


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