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