|
inlineconstexpr |
Parameters
x
:value argument.c
: Conditional expression masking the operation.m
: Logical value masking the operation.tol
scalar_value tolerance.Return value
x
with the same sign as x
. The standard proposes 4 rounding modes namely: FE_TONEAREST
, FE_DOWNWARD
, FE_UPWARD
, FE_TOWARDZERO
. This function object implements the FE_TOWARDZERO
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
.ceil[tolerance = 3*eps(as(x))(x)