Next: , Previous: mpfr binary operators, Up: mpfr


D.14.2 mpfr unary operators

Functions with these names take a single mpfr number as an argument and return a single mpfr number as a result.

     sqr      sqrt     cbrt     neg      abs      log
     log2     log10    exp      exp2     exp10    cos
     sin      tan      acos     asin     atan     cosh
     sinh     tanh     acosh    asinh    atanh    lngamma
     expm1    eint     gamma    erf      log1p    nextbelow
     ceil     floor    round    trunc    frac     nextabove
     erfc

The semantics of these functions are similar to those of their counterparts in the native API, with these provisions.