Définit l'opérateur == pour les flottants. Plus de détails...
Fonctions membres publiques statiques | |
| constexpr __host__ static __device__ bool | isNearlyZero (T a) |
| constexpr __host__ static __device__ bool | isNearlyZeroWithEpsilon (T a, T epsilon) |
| Compare a à zéro dans epsilon. | |
| __host__ static __device__ bool | isNearlyZero (T a, T b) |
| Compare avec b*epsilon. | |
| constexpr __host__ static __device__ bool | isTrueZero (T a) |
| constexpr __host__ static __device__ bool | isZero (T a) |
| constexpr __host__ static __device__ bool | isNearlyEqual (T a, T b) |
| constexpr __host__ static __device__ bool | isNearlyEqualWithEpsilon (T a, T b, T epsilon) |
| constexpr __host__ static __device__ bool | isEqual (T a, T b) |
Fonctions membres privées statiques | |
| constexpr __host__ static __device__ T | nepsilon () |
Définit l'opérateur == pour les flottants.
Définition à la ligne 113 du fichier TypeEqual.h.
|
inlinestaticconstexpr |
Définition à la ligne 160 du fichier TypeEqual.h.
|
inlinestaticconstexpr |
Définition à la ligne 148 du fichier TypeEqual.h.
|
inlinestaticconstexpr |
Définition à la ligne 154 du fichier TypeEqual.h.
|
inlinestaticconstexpr |
Définition à la ligne 121 du fichier TypeEqual.h.
|
inlinestatic |
Compare avec b*epsilon.
Définition à la ligne 141 du fichier TypeEqual.h.
|
inlinestaticconstexpr |
Compare a à zéro dans epsilon.
epsilon doit être positif.
| true | si abs(a)<epilon |
| false | sinon |
Définition à la ligne 134 du fichier TypeEqual.h.
|
inlinestaticconstexpr |
Définition à la ligne 146 du fichier TypeEqual.h.
|
inlinestaticconstexpr |
Définition à la ligne 147 du fichier TypeEqual.h.
|
inlinestaticconstexprprivate |
Définition à la ligne 117 du fichier TypeEqual.h.