piranha  0.10
Static Public Attributes | List of all members
piranha::zero_is_absorbing< T, fp_zero_is_absorbing_enabler< T > > Class Template Reference

Specialisation of piranha::zero_is_absorbing for floating-point types. More...

#include <piranha/type_traits.hpp>

Static Public Attributes

static const bool value = false
 Value of the type trait.
 

Detailed Description

template<typename T>
class piranha::zero_is_absorbing< T, fp_zero_is_absorbing_enabler< T > >

Specialisation of piranha::zero_is_absorbing for floating-point types.

Note
This specialisation is enabled if T, after the removal of cv/reference qualifiers, is a C++ floating-point type supporting NaN.

In the presence of NaN, a floating-point zero is not the multiplicative absorbing element, and thus this specialisation will be unconditionally false if activated.

Definition at line 1179 of file type_traits.hpp.


The documentation for this class was generated from the following file: