|
inlineconstexpr |
Defined in Header
Parameters
x
:value argument.c
: Conditional expression masking the operation.m
: Logical value masking the operation.tol
scalar_value tolerance.Return value
x
. The standard proposes 4 rounding modes namely: FE_TONEAREST
, FE_DOWNWARD
, FE_UPWARD
, FE_TOWARDZERO
. This function object implements the FE_UPWARD
version.almost
allows a fuzzy interpretation of ceil associated to a scalar tolerance.tol
: computes the ceil of the previous nth representable value in the x
type.tol
: computes the ceil with a tolerance tol
using Hagerty's FL5 function.ceil[tolerance = 3*eps(as(x))(x)