FastPolyEval  1.0
Fast Evaluation of Real and Complex Polynomials
debug.h
Go to the documentation of this file.
1 //
2 // debug.h
3 //
4 // Authors: Nicolae Mihalache & François Vigneron
5 //
6 // This software is released under BSD licence, with an attribution clause (see Licence file).
7 // Please cite the reference below if you use or distribute this software.
8 //
9 // • [1] R. Anton, N. Mihalache & F. Vigneron. Fast evaluation of real and complex polynomials. 2022.
10 // https://hal.archives-ouvertes.fr/hal-03820369
11 //
12 // Copyright 2022 Univ. Paris-Est Créteil & Univ. de Reims Champagne-Ardenne.
13 //
14 
20 #ifndef debug_h
21 #define debug_h
22 
23 #include <stdio.h>
24 #include <stdlib.h>
25 #include <mpfr.h>
26 
27 #include "ntypes.h"
28 #include "compf.h"
29 #include "comp.h"
30 
39 char *pm(mpfr_t x, int dig);
40 
51 char *pc(comp z, int dig);
52 
62 char *pcf(compf z);
63 
64 #endif /* debug_h */
Definition of MPFR complex numbers.
comp_struct comp[1]
Practical wrapper for comp_struct.
Definition: comp.h:39
Definition of machine complex numbers.
compf_struct compf[1]
Practical wrapper for compf_struct.
Definition: compf.h:43
char * pcf(compf z)
Return a string containing the value of z.
char * pc(comp z, int dig)
Return a string containing the value of x with dig digits.
char * pm(mpfr_t x, int dig)
Return a string containing the value of x with dig digits.
Definition of basic types.