|
| template<typename T > |
| void | mckl::ceil (std::size_t n, const T *a, T *y) |
| | For \(i=1,\ldots,n\), compute \(y_i = \lceil a_i \rceil\). More...
|
| |
| template<typename T > |
| void | mckl::floor (std::size_t n, const T *a, T *y) |
| | For \(i=1,\ldots,n\), compute \(y_i = \lfloor a_i \rfloor\). More...
|
| |
| template<typename T > |
| void | mckl::modf (std::size_t n, const T *a, T *y, T *z) |
| | For \(i=1,\ldots,n\), compute the integeral and fraction parts. More...
|
| |
| template<typename T > |
| void | mckl::nearbyint (std::size_t n, const T *a, T *y) |
| | For \(i=1,\ldots,n\), compute the nearest integers, using the current rounding mode. More...
|
| |
| template<typename T > |
| void | mckl::rint (std::size_t n, const T *a, T *y) |
| | For \(i=1,\ldots,n\), compute the nearest integers, using the current rounding mode. More...
|
| |
| template<typename T > |
| void | mckl::round (std::size_t n, const T *a, T *y) |
| | For \(i=1,\ldots,n\), compute the nearest integers, rounding away from zero. More...
|
| |
| template<typename T > |
| void | mckl::trunc (std::size_t n, const T *a, T *y) |
| | For \(i=1,\ldots,n\), compute \(y_i = \mathrm{sgn}(a_i)\lfloor|a_i|\rfloor\). More...
|
| |