1 /*
2     Title:  Real number conversion
3     Author:     Dave Matthews, Cambridge University Computer Laboratory
4 
5     Copyright (c) 2000
6         Cambridge University Technical Services Limited
7 
8     This library is free software; you can redistribute it and/or
9     modify it under the terms of the GNU Lesser General Public
10     License as published by the Free Software Foundation; either
11     version 2.1 of the License, or (at your option) any later version.
12 
13     This library is distributed in the hope that it will be useful,
14     but WITHOUT ANY WARRANTY; without even the implied warranty of
15     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16     Lesser General Public License for more details.
17 
18     You should have received a copy of the GNU Lesser General Public
19     License along with this library; if not, write to the Free Software
20     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
21 
22 */
23 
24 #ifdef HAVE_CONFIG_H
25 #include "config.h"
26 #elif defined(_WIN32)
27 #include "winconfig.h"
28 #else
29 #error "No configuration file"
30 #endif
31 
32 #ifndef REALCONV_H
33 #define REALCONV_H
34 
35 #ifdef __cplusplus
36 extern "C" {
37 #endif
38 
39 #ifndef HAVE_STRTOD
40 extern double poly_strtod(const char *s00, char **se);
41 #endif
42 
43 extern char *poly_dtoa(double d, int mode, int ndigits,
44             int *decpt, int *sign, char **rve);
45 extern void poly_freedtoa(char *s);
46 
47 #ifdef __cplusplus
48 };
49 #endif
50 
51 #endif
52