OpenShot Audio Library | OpenShotAudio 0.4.0
|
#include <juce_MathsFunctions.h>
Public Member Functions | |
Tolerance | withAbsolute (Type newAbsolute) |
Tolerance | withRelative (Type newRelative) |
Type | getAbsolute () const |
Type | getRelative () const |
A class encapsulating both relative and absolute tolerances for use in floating-point comparisons.
Definition at line 215 of file juce_MathsFunctions.h.
|
inline |
Definition at line 244 of file juce_MathsFunctions.h.
|
inline |
Definition at line 245 of file juce_MathsFunctions.h.
|
inline |
Returns a copy of this Tolerance object with a new absolute tolerance.
If you just need a Tolerance object with an absolute tolerance, it might be worth using the absoluteTolerance() function.
Definition at line 227 of file juce_MathsFunctions.h.
|
inline |
Returns a copy of this Tolerance object with a new relative tolerance.
If you just need a Tolerance object with a relative tolerance, it might be worth using the relativeTolerance() function.
Definition at line 239 of file juce_MathsFunctions.h.