OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [stdlib/] [std.h] - Blame information for rev 179

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
#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
#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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.