blob: cf52e40cbb180b2c9a595fff9b85bfc4fff20dbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*-------------------------------------------------------------------------
*
* float.h
* definitions for ANSI floating point
*
*
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: float.h,v 1.9 2001/11/05 17:46:27 momjian Exp $
*
* NOTES
* These come straight out of ANSI X3.159-1989 (p.18) and
* would be unnecessary if SunOS 4 were ANSI-compliant.
*
* This is only a partial listing because I'm lazy to type
* the whole thing in.
*
*-------------------------------------------------------------------------
*/
#ifndef FLOAT_H
#define FLOAT_H
#define FLT_DIG 6
#define FLT_MIN ((float) 1.17549435e-38)
#define FLT_MAX ((float) 3.40282347e+38)
#define DBL_DIG 15
#define DBL_MIN 2.2250738585072014e-308
#define DBL_MAX 1.7976931348623157e+308
#endif /* FLOAT_H */
|