Description Usage Arguments Value See Also Examples

Rounding to binary bits, not decimal digits. Closer to the number
representation, this also allows to *increase* or decrease a number's
precBits. In other words, it acts as `setPrec()`

, see
`getPrec()`

.

1 |

`x` |
an mpfr number (vector) |

`precBits` |
integer specifying the desired precision in bits. |

`rnd.mode` |
a 1-letter string specifying how |

an mpfr number as `x`

but with the new 'precBits' precision

The `mpfr`

class group method `Math2`

implements a method for `round(x, digits)`

which rounds to
*decimal* digits.

1 2 3 |

Rmpfr documentation built on Aug. 19, 2018, 3 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.