|
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 |
A class encapsulating both relative and absolute tolerances for use in floating-point comparisons. More...
#include "juce_MathsFunctions.h"
Public Member Functions | |
| Tolerance | withAbsolute (Type newAbsolute) |
| Returns a copy of this Tolerance object with a new absolute tolerance. | |
| Tolerance | withRelative (Type newRelative) |
| Returns a copy of this Tolerance object with a new relative tolerance. | |
| Type | getAbsolute () const |
| Type | getRelative () const |
A class encapsulating both relative and absolute tolerances for use in floating-point comparisons.
@tags{Core}
Definition at line 215 of file juce_MathsFunctions.h.
| Type juce::Tolerance< Type >::getAbsolute | ( | ) | const |
Definition at line 244 of file juce_MathsFunctions.h.
| Type juce::Tolerance< Type >::getRelative | ( | ) | const |
Definition at line 245 of file juce_MathsFunctions.h.
| Tolerance juce::Tolerance< Type >::withAbsolute | ( | Type | newAbsolute | ) |
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.
| Tolerance juce::Tolerance< Type >::withRelative | ( | Type | newRelative | ) |
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.