Function: crlibm_function ('acos', R, X)
Function: crlibm_function ('asin', R, X)
Function: crlibm_function ('atan', R, X)
Function: crlibm_function ('cos', R, X)
Function: crlibm_function ('cosh', R, X)
Function: crlibm_function ('exp', R, X)
Function: crlibm_function ('expm1', R, X)
Function: crlibm_function ('log', R, X)
Function: crlibm_function ('log10', R, X)
Function: crlibm_function ('log1p', R, X)
Function: crlibm_function ('log2', R, X)
Function: crlibm_function ('sin', R, X)
Function: crlibm_function ('sinh', R, X)
Function: crlibm_function ('tan', R, X)

Evaluate a function in binary64 with correctly rounded result.

Parameter 1 is the function’s name in GNU Octave, Parameter 2 is the rounding direction (0: towards zero, 0.5: towards nearest and ties to even, +inf: towards positive infinity, -inf: towards negative infinity). Parameters 3 is the operand to the function.

Evaluated on matrices, the function will be applied element-wise.

The result is guaranteed to be correctly rounded. That is, the function is evaluated with (virtually) infinite precision and the exact result is approximated with a binary64 number using the desired rounding direction.

See also: mpfr_function_d.

Package: interval