|
inlineconstexpr |
Returns the the greatest prime less or equal to the input.
Defined in Header
Parameters
n
: unsigned argument. If n
is greater than 104'729, behavior is undefined.Return value The greatest prime less or equal to n
. The result type is the same as the input one unless a converter is applied (see below).
Optimized Conversion Call
The converters eve::float_, eve::double_, eve::floating_ can be applied to produce a floating point output.
Example