mirror of
https://github.com/vale981/arb
synced 2025-03-04 17:01:40 -05:00
Merge branch 'master' of github.com:fredrik-johansson/arb
This commit is contained in:
commit
9c240a1e69
1 changed files with 6 additions and 3 deletions
|
@ -156,15 +156,18 @@ Assignment and rounding
|
|||
|
||||
.. function:: void arb_set_round_fmpz(arb_t y, const fmpz_t x, slong prec)
|
||||
|
||||
Sets *y* to the value of *x*, rounded to *prec* bits.
|
||||
Sets *y* to the value of *x*, rounded to *prec* bits in the direction
|
||||
towards zero.
|
||||
|
||||
.. function:: void arb_set_round_fmpz_2exp(arb_t y, const fmpz_t x, const fmpz_t e, slong prec)
|
||||
|
||||
Sets *y* to `x \cdot 2^e`, rounded to *prec* bits.
|
||||
Sets *y* to `x \cdot 2^e`, rounded to *prec* bits in the direction
|
||||
towards zero.
|
||||
|
||||
.. function:: void arb_set_fmpq(arb_t y, const fmpq_t x, slong prec)
|
||||
|
||||
Sets *y* to the rational number *x*, rounded to *prec* bits.
|
||||
Sets *y* to the rational number *x*, rounded to *prec* bits in the direction
|
||||
towards zero.
|
||||
|
||||
.. function:: int arb_set_str(arb_t res, const char * inp, slong prec)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue