E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches

◆ mindenormal

auto eve::mindenormal = functor<mindenormal_t>
inlineconstexpr

Defined in Header

#include <eve/module/core.hpp>

Callable Signatures

namespace eve
{
template<eve::plain_value T> constexpr T mindenormal(as<T> x) noexcept;
}
constexpr auto mindenormal
Computes the smallest denormal positive value.
Definition mindenormal.hpp:70
EVE Main Namespace.
Definition abi.hpp:18
Lightweight type-wrapper.
Definition as.hpp:29

Parameters

  • x : Type wrapper instance embedding the type of the constant.

Return value

The call eve::mindenormal(as<T>()) is semantically equivalent to:

  • ‘T(1)’ if eve::element_type_t<T> is integral ! * T(1.4013e-45f) if eve::element_type_t<T> is float ! * T(4.94066e-324) if eve::element_type_t<T> is double
     <h2 class="groupheader"> Example </h2>
    
     @include doc/core/constant/mindenormal.cpp