folly::constexpr_floor

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

NameDescription
tThe value to round down.