mpfr functions with miscellaneous calling conventionsSome functions listed below don't conform to any of the previously mentioned calling conventions.
eq(prec,(x,y)), where prec is a natural
number and x and y are mpfr numbers. It returns a
result of (nil,nil) (i.e., true) if the numbers agree up to the
specified precision measured in bits, and returns nil
otherwise.1
urandombprecmpfr number and returns a natural number
as a result, which is the precision of the argument in bits.
sin_cosmpfr number z as an argument and
returns a pair of mpfr numbers (x,y) as a
result, where x is the sine of z and y is the cosine. The
precisions of the results are the same as the precision of the
argument.
[1] a potentially useful tool for algorithms concerned
with numerical approximations despite its inexplicable malignment in
the mpfr documentation