numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
floor.h File Reference

Definition of floor function. More...

+ Include dependency graph for floor.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 \).
 

Detailed Description

Definition of floor function.

Definition in file floor.h.