SymEngine C++ API
symengine
eval_mpc.h
Go to the documentation of this file.
1
7
#ifndef SYMENGINE_EVAL_MPC_H
8
#define SYMENGINE_EVAL_MPC_H
9
10
#include <symengine/symengine_config.h>
11
12
#ifdef HAVE_SYMENGINE_MPC
13
#include <
symengine/basic.h
>
14
#include <mpc.h>
15
16
namespace
SymEngine
17
{
18
20
// Different precisions for real and imaginary parts of `result` is not
21
// supported
22
// Use `mpc_init2` to initialize `result`
23
void
eval_mpc(mpc_ptr result,
const
Basic &b, mpfr_rnd_t rnd);
24
25
}
// namespace SymEngine
26
27
#endif
// HAVE_SYMENGINE_MPC
28
29
#endif
basic.h
The base class for SymEngine.
SymEngine
Main namespace for SymEngine package.
Definition:
add.cpp:19