![]() |
FastPolyEval
1.0
Fast Evaluation of Real and Complex Polynomials
|
A few basic tool for easy debug when usinf MPFR. More...
Go to the source code of this file.
Functions | |
char * | pm (mpfr_t x, int dig) |
Return a string containing the value of x with dig digits. More... | |
char * | pc (comp z, int dig) |
Return a string containing the value of x with dig digits. More... | |
char * | pcf (compf z) |
Return a string containing the value of z . More... | |
A few basic tool for easy debug when usinf MPFR.
Definition in file debug.h.
char* pc | ( | comp | z, |
int | dig | ||
) |
Return a string containing the value of x
with dig
digits.
The format is that of a CSV file line, the real and imaginary components are separated by a comma.
z | a complex number, with MPFR real and imaginary parts |
dig | the number of digits to print |
z
, NULL
if some error occurred char* pcf | ( | compf | z | ) |
Return a string containing the value of z
.
The format is that of a CSV file line, the real and imaginary components are separated by a comma.
z | a complex number, with machine numbers real and imaginary parts |
z
, NULL
if some error occurred char* pm | ( | mpfr_t | x, |
int | dig | ||
) |
Return a string containing the value of x
with dig
digits.
x | a real number, MPFR |
dig | the number of digits to print |
z
, NULL
if some error occurred