|
template<typename T > |
T | nearbyint (T value) |
| Rounds the floating-point argument arg to an integer value in floating-point format, using the current rounding mode. More...
|
|
template<typename T , typename = typename std::enable_if<std::is_floating_point<T>::value>::type> |
T | round (T value) |
| Round floating-point value with half value rounding away from zero. More...
|
|
template<typename T , typename = typename std::enable_if<std::is_floating_point<T>::value>::type> |
long | lround (T value) |
| Round floating-point value with half value rounding away from zero and cast to long. More...
|
|
template<typename T , typename = typename std::enable_if<std::is_floating_point<T>::value>::type> |
T | trunc (T value) |
| Truncate floating-point value. More...
|
|
template<typename T , typename = typename std::enable_if<std::is_floating_point<T>::value>::type> |
T | copysign (T x, T y) |
| Composes a floating point value with the magnitude of x and the sign of y . More...
|
|
template<typename T , typename = typename std::enable_if<std::is_floating_point<T>::value >::type> |
T | fma (T x, T y, T z) |
| Computes (x*y) + z as if to infinite precision and rounded only once to fit the result type. More...
|
|
template<typename... Ts> |
int | snprintf (char *s, std::size_t n, const char *fmt, Ts &&...args) |
| Loads the data from the given location, converts them to character string equivalents and writes the result to a character string buffer. More...
|
|
template<typename T > |
T | lowest () |
|
template<> |
bfloat16 | lowest< bfloat16 > () |
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value>::type> |
bool | isfinite (T value) |
|
bool | isfinite (half_float::half value) |
|
bool | isfinite (bfloat16 value) |
|
template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value>::type> |
bool | signbit (T value) |
|
bool | signbit (half_float::half value) |
|
bool | signbit (bfloat16 value) |
|