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

◆ oneotwoeps

auto eve::oneotwoeps = functor<oneotwoeps_t>
inlineconstexpr

Defined in Header

#include <eve/module/core.hpp>

Callable Signatures

namespace eve
{
template<eve::floating_value T> constexpr T oneotwoeps(as<T> x) noexcept;
}
constexpr auto oneotwoeps
Computes a constant to the machine oneotwoepsilon.
Definition oneotwoeps.hpp:72
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::oneotwoeps(as<T>()) returns elementwise, the smallest positive value x of the type such that 1+x != x.

Example