|
| constexpr __host__ static __device__ bool | isNearlyZero (T a) |
| |
| constexpr __host__ static __device__ bool | isNearlyZeroWithEpsilon (T a, T epsilon) |
| | Compare a à zéro à epsilon près.
|
| |
| __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) |
| |
template<class T>
class Arcane::FloatEqualT< T >
Définit l'opérateur == pour les flottants.
- Note
- A terme, devrait utiliser pour l'epsilon la classe 'numeric_limits' de la STL quand cela sera implémenté.
Définition à la ligne 108 du fichier Numeric.h.