numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Definition of floor function. More...
#include "num_collect/constants/one.h"
#include "num_collect/constants/trunc.h"
#include "num_collect/constants/zero.h"
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::floor (T x) -> T |
Calculate the largest integer not greater than x, \( \lfloor x
\rfloor \). | |
Definition of floor function.
Definition in file floor.h.