Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4349 | Serge | 1 | #include |
2 | #include |
||
3 | #include |
||
4 | #include |
||
5 | #include |
||
6 | #ifndef CYGNUS_NEC |
||
7 | #include |
||
8 | #endif |
||
9 | |||
10 | #define Ise(c) ((c == 'e') || (c == 'E') || (c == 'd') || (c == 'D')) |
||
11 | #define Isdigit(c) ((c <= '9') && (c >= '0')) |
||
12 | #define Isspace(c) ((c == ' ') || (c == '\t') || (c=='\n') || (c=='\v') \ |
||
13 | || (c == '\r') || (c == '\f')) |
||
14 | #define Issign(c) ((c == '-') || (c == '+')) |
||
15 | #define Val(c) ((c - '0')) |
||
16 | |||
17 | #define MAXE 308 |
||
18 | #define MINE (-308) |
||
19 | |||
20 | /* flags */ |
||
21 | #define SIGN 0x01 |
||
22 | #define ESIGN 0x02 |
||
23 | #define DECP 0x04 |
||
24 | |||
25 | #ifdef _HAVE_STDC |
||
26 | int __ten_mul(double *acc, int digit); |
||
27 | double __adjust(struct _reent *ptr, double *acc, int dexp, int sign); |
||
28 | double __exp10(unsigned x); |
||
29 | #else |
||
30 | int __ten_mul(); |
||
31 | double __adjust(); |
||
32 | double __exp10(); |
||
33 | #endif=> |