MPSolve 3.2.1
Loading...
Searching...
No Matches
link.h File Reference

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.

Functions

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

Detailed Description

Functions used to pass the data back and forth between multiprecision and floating point.

Function Documentation

◆ mpc_get_cdpe()

void mpc_get_cdpe ( cdpe_t  c,
mpc_t  mc 
)

Get the CDPE version of the Multiprecision value mc.

Parameters
cThe CDPE where the value of mc will be stored.
mcThe 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
cThe cplx_t where the value of mc will be stored.
mcThe 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
mcThe multiprecision complex number to set.
cThe 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
mcThe multiprecision complex number to set.
cThe 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
eThe RDPE where the value of f will be stored.
fThe 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
fThe multiprecision floating point number to set.
eThe RDPE value to set in f.