numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Definition of trunc function. More...
Go to the source code of this file.
Namespaces | |
namespace | num_collect |
Namespace of num_collect source codes. | |
namespace | num_collect::constants |
Namespace of constexpr variables and functions. | |
Functions | |
template<typename T > | |
constexpr auto | num_collect::constants::trunc (T x) -> T |
Truncate the decimal part of a number x. | |
Definition of trunc function.
Definition in file trunc.h.