3#ifndef pRC_CORE_VALUE_FUNCTIONS_TRUNC_H
4#define pRC_CORE_VALUE_FUNCTIONS_TRUNC_H
13 template<
class T, If<IsFloat<T>> = 0>
14 static inline constexpr auto trunc(
T const &a)
16 return Float(std::trunc(a()));
19 template<
class T, If<IsInteger<T>> = 0>
20 static inline constexpr auto trunc(
T const &a)
Definition cholesky.hpp:18
Float(Float< 16 >::Fundamental const) -> Float< 16 >
static constexpr auto trunc(Complex< T > const &a)
Definition trunc.hpp:12