Last change
on this file since 577 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
715 bytes
|
Line | |
---|
1 | #include <stdlib.h> |
---|
2 | #include <stdio.h> |
---|
3 | #include <errno.h> |
---|
4 | #include <limits.h> |
---|
5 | #include <math.h> |
---|
6 | #ifndef CYGNUS_NEC |
---|
7 | #include <ctype.h> |
---|
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 | int __ten_mul(double *acc, int digit); |
---|
26 | double __adjust(struct _reent *ptr, double *acc, int dexp, int sign); |
---|
27 | double __exp10(unsigned x); |
---|
Note: See
TracBrowser
for help on using the repository browser.