[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### 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.

- The precision of the result is the precision of the argument.
- There is no second argument for assigning the result.
- The `nextabove` and `nextbelow` functions do not modify their arguments in place, but return a freshly allocated result like all other functions.

This document was generated on November 8, 2012 using texi2html 1.82.