Subversion Repositories shark

Rev

Rev 1618 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
42 pj 1
/* Project:     OSLib
2
 * Description: The OS Construction Kit
3
 * Date:                1.6.2000
4
 * Idea by:             Luca Abeni & Gerardo Lamastra
5
 *
6
 * OSLib is an SO project aimed at developing a common, easy-to-use
7
 * low-level infrastructure for developing OS kernels and Embedded
8
 * Applications; it partially derives from the HARTIK project but it
9
 * currently is independently developed.
10
 *
11
 * OSLib is distributed under GPL License, and some of its code has
12
 * been derived from the Linux kernel source; also some important
13
 * ideas come from studying the DJGPP go32 extender.
14
 *
15
 * We acknowledge the Linux Community, Free Software Foundation,
16
 * D.J. Delorie and all the other developers who believe in the
17
 * freedom of software and ideas.
18
 *
19
 * For legalese, check out the included GPL license.
20
 */
21
 
22
/*      The POSIX float.h header        */
23
 
24
#ifndef __LL_I386_FLOAT_H
25
#define __LL_I386_FLOAT_H__
26
 
27
#define DBL_DIG         15
28
#define DBL_EPSILON     2.22044604925031300e-016
29
#define DBL_MANT_DIG    53
30
#define DBL_MAX         1.79769313486231500e+308
31
#define DBL_MAX_10_EXP  308
32
#define DBL_MAX_EXP     1024
33
#define DBL_MIN         2.22507385850720200e-308
34
#define DBL_MIN_10_EXP  (-307)
35
#define DBL_MIN_EXP     (-1021)
36
 
37
#define FLT_DIG         6
38
#define FLT_EPSILON     1.192092896e-7f
39
#define FLT_MANT_DIG    24
40
#define FLT_MAX         3.402823466e+38f
41
#define FLT_MAX_10_EXP  38
42
#define FLT_MAX_EXP     128
43
#define FLT_MIN         1.175494351e-38f
44
#define FLT_MIN_10_EXP  (-37)
45
#define FLT_MIN_EXP     (-125)
46
#define FLT_RADIX       2
47
#define FLT_ROUNDS      1
48
 
49
#define LDBL_DIG        DBL_DIG
50
#define LDBL_EPSILON    DBL_EPSILON
51
#define LDBL_MANT_DIG   DBL_MANT_DIG
52
#define LDBL_MAX        DBL_MAX
53
#define LDBL_MAX_10_EXP DBL_MAX_10_EXP
54
#define LDBL_MAX_EXP    DBL_MAX_EXP
55
#define LDBL_MIN        DBL_MIN
56
#define LDBL_MIN_10_EXP DBL_MIN_10_EXP
57
#define LDBL_MIN_EXP    DBL_MIN_EXP
58
 
59
#endif