#include <SDL_stdinc.h>
#include <limits>
#include <cmath>
Go to the source code of this file.
|
| template<typename T > |
| IEEEFloatTraits< T >::float_type | float_abs (T x) |
| |
| template<typename T > |
| IEEEFloatTraits< T >::float_type | float_max (T x, T y) |
| |
| template<typename T > |
| IEEEFloatTraits< T >::float_type | float_max (T x, T y, T z) |
| |
| template<typename T > |
| IEEEFloatTraits< T >::bool_type | is_nan_bits (const typename IEEEFloatTraits< T >::uint_type &bits) |
| |
| template<typename T > |
| IEEEFloatTraits< T >::bool_type | is_finite_bits (const typename IEEEFloatTraits< T >::uint_type &bits) |
| |
| template<typename T > |
| IEEEFloatTraits< T >::bool_type | is_finite (T x) |
| |
| bool | is_equal_exact (float a, float b) |
| |
| bool | is_equal_exact (double a, double b) |
| |
| bool | is_zero_exact (float x) |
| |
| bool | is_zero_exact (double x) |
| |
| bool | is_nan (float x) |
| |
| bool | is_nan (double x) |
| |
| template<typename T > |
| IEEEFloatTraits< T >::bool_type | is_equal_relative (T a, T b, T tol=IEEEFloatTraits< T >::DefaultRelTolerance()) |
| |
| template<typename T > |
| IEEEFloatTraits< T >::bool_type | is_equal_absolute (T a, T b, T tol=IEEEFloatTraits< T >::DefaultAbsTolerance()) |
| |
| template<typename T > |
| IEEEFloatTraits< T >::bool_type | is_equal_general (T a, T b, T rel_tol, T abs_tol) |
| |
| template<typename T > |
| IEEEFloatTraits< T >::bool_type | is_equal_general (T a, T b, T tol=IEEEFloatTraits< T >::DefaultTolerance()) |
| |
| template<typename T > |
| IEEEFloatTraits< T >::bool_type | is_zero_general (T x, T tol=IEEEFloatTraits< T >::DefaultRelTolerance()) |
| |
| template<typename T > |
| IEEEFloatTraits< T >::int_type | float_ulp_difference (T a, T b) |
| |
| template<typename T > |
| IEEEFloatTraits< T >::bool_type | is_equal_ulps (T a, T b, typename IEEEFloatTraits< T >::int_type max_ulps=IEEEFloatTraits< T >::DefaultUlpTolerance) |
| |
◆ float_abs()
◆ float_max() [1/2]
◆ float_max() [2/2]
◆ float_ulp_difference()
◆ is_equal_absolute()
◆ is_equal_exact() [1/2]
| bool is_equal_exact |
( |
double |
a, |
|
|
double |
b |
|
) |
| |
|
inline |
◆ is_equal_exact() [2/2]
| bool is_equal_exact |
( |
float |
a, |
|
|
float |
b |
|
) |
| |
|
inline |
◆ is_equal_general() [1/2]
template<typename T >
| IEEEFloatTraits< T >::bool_type is_equal_general |
( |
T |
a, |
|
|
T |
b, |
|
|
T |
rel_tol, |
|
|
T |
abs_tol |
|
) |
| |
|
inline |
◆ is_equal_general() [2/2]
◆ is_equal_relative()
◆ is_equal_ulps()
◆ is_finite()
◆ is_finite_bits()
◆ is_nan() [1/2]
◆ is_nan() [2/2]
◆ is_nan_bits()
◆ is_zero_exact() [1/2]
| bool is_zero_exact |
( |
double |
x | ) |
|
|
inline |
◆ is_zero_exact() [2/2]
| bool is_zero_exact |
( |
float |
x | ) |
|
|
inline |
◆ is_zero_general()