tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
rint.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  etl
 

Functions

constexpr auto rint (double arg) noexcept -> double
 Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
 
constexpr auto rint (float arg) noexcept -> float
 Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
 
constexpr auto rint (long double arg) noexcept -> long double
 Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
 
template<integral T>
constexpr auto rint (T arg) noexcept -> double
 Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
 
constexpr auto rintf (float arg) noexcept -> float
 Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.
 
constexpr auto rintl (long double arg) noexcept -> long double
 Rounds the floating-point argument arg to an integer value (in floating-point format), using the current rounding mode.