Functions used to pass the data back and forth between multiprecision and floating point.
More...
#include <mps/mt.h>
#include <mps/mpc.h>
Go to the source code of this file.
|
void | mpf_set_rdpe (mpf_t f, rdpe_t e) |
| Set the Multiprecision value f with the value stored in e . More...
|
|
void | mpf_get_rdpe (rdpe_t e, mpf_t f) |
| Get the RDPE version of the Multiprecision value f . More...
|
|
void | mpc_set_cplx (mpc_t mc, cplx_t c) |
| Set the Multiprecision value mc with the value stored in c . More...
|
|
void | mpc_get_cplx (cplx_t c, mpc_t mc) |
| Get the cplx_t version of the Multiprecision value mc . More...
|
|
void | mpc_set_cdpe (mpc_t mc, cdpe_t c) |
| Set the Multiprecision value mc with the value stored in c . More...
|
|
void | mpc_get_cdpe (cdpe_t c, mpc_t mc) |
| Get the CDPE version of the Multiprecision value mc . More...
|
|
Functions used to pass the data back and forth between multiprecision and floating point.
◆ mpc_get_cdpe()
void mpc_get_cdpe |
( |
cdpe_t |
c, |
|
|
mpc_t |
mc |
|
) |
| |
Get the CDPE version of the Multiprecision value mc
.
- Parameters
-
c | The CDPE where the value of mc will be stored. |
mc | The multiprecision complex number to extract the value from. |
◆ mpc_get_cplx()
void mpc_get_cplx |
( |
cplx_t |
c, |
|
|
mpc_t |
mc |
|
) |
| |
Get the cplx_t
version of the Multiprecision value mc
.
- Parameters
-
c | The cplx_t where the value of mc will be stored. |
mc | The multiprecision complex number to extract the value from. |
◆ mpc_set_cdpe()
void mpc_set_cdpe |
( |
mpc_t |
mc, |
|
|
cdpe_t |
c |
|
) |
| |
Set the Multiprecision value mc
with the value stored in c
.
- Parameters
-
mc | The multiprecision complex number to set. |
c | The CDPE value to set in mc . |
◆ mpc_set_cplx()
void mpc_set_cplx |
( |
mpc_t |
mc, |
|
|
cplx_t |
c |
|
) |
| |
Set the Multiprecision value mc
with the value stored in c
.
- Parameters
-
mc | The multiprecision complex number to set. |
c | The cplx_t value to set in mc . |
◆ mpf_get_rdpe()
void mpf_get_rdpe |
( |
rdpe_t |
e, |
|
|
mpf_t |
f |
|
) |
| |
Get the RDPE version of the Multiprecision value f
.
- Parameters
-
e | The RDPE where the value of f will be stored. |
f | The multiprecision floating point number to extract the value from. |
◆ mpf_set_rdpe()
void mpf_set_rdpe |
( |
mpf_t |
f, |
|
|
rdpe_t |
e |
|
) |
| |
Set the Multiprecision value f
with the value stored in e
.
- Parameters
-
f | The multiprecision floating point number to set. |
e | The RDPE value to set in f . |