constexpr_floor

Synopsis

Declared in <folly/ConstexprMath.h>

template<typename T>
constexpr
T
constexpr_floor(T const t);

Description

mimic: std::floor (C++23)

Return Value

The largest integer value not greater than t.

Parameters

Name

Description

t

The value to round down.

Created with MrDocs