|
inlineconstexpr |
Computes the negative zero value.
Callable object computing the negative zero value.
For integral type there is no difference between eve::zero and eve::mzero, but for floating ones the bit of sign differs.
However, eve::mzero always satisfies the equality predicate with eve::zero.
Defined in Header
Parameters
x : Type wrapper instance embedding the type of the constant.Return value
The call eve::mzero(as<T>()) is semantically equivalent to T(-0.0).
Required header: #include <eve/module/core.hpp>
| Member | Effect |
|---|---|
operator() | Computes the mzero constant |
Parameters
t: Type wrapper instance embedding the type of the constant.
Return value
the call eve::mzero(as<T>()) is semantically equivalent to T(-0.0)