aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/sunos4/float.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-07-28 00:08:41 +0000
committerBruce Momjian <bruce@momjian.us>1997-07-28 00:08:41 +0000
commitcfd15d16fa6a280587d7dfb84a974abb54e440ea (patch)
tree0cca327e79b16a3dfefe1a43b07485ce8f399011 /src/backend/port/sunos4/float.h
parentd5e21e0924401fc44bbcb2cf1f1491d01256a840 (diff)
downloadpostgresql-cfd15d16fa6a280587d7dfb84a974abb54e440ea.tar.gz
postgresql-cfd15d16fa6a280587d7dfb84a974abb54e440ea.zip
Rename sparc to sunos4 directory. Was misnamed.
Diffstat (limited to 'src/backend/port/sunos4/float.h')
-rw-r--r--src/backend/port/sunos4/float.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/backend/port/sunos4/float.h b/src/backend/port/sunos4/float.h
new file mode 100644
index 00000000000..eb9ec5c2a2e
--- /dev/null
+++ b/src/backend/port/sunos4/float.h
@@ -0,0 +1,30 @@
+/*-------------------------------------------------------------------------
+ *
+ * float.h--
+ * definitions for ANSI floating point
+ *
+ *
+ * Copyright (c) 1994, Regents of the University of California
+ *
+ * $Id: float.h,v 1.1 1997/07/28 00:08:35 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 */