summaryrefslogtreecommitdiff
path: root/src/include/utils/numeric.h
diff options
context:
space:
mode:
authorJan Wieck <JanWieck@Yahoo.com>1998-12-30 20:46:06 +0000
committerJan Wieck <JanWieck@Yahoo.com>1998-12-30 20:46:06 +0000
commit5df20d4449f552225415df2f413b7cda8c54d8f7 (patch)
tree077dc7e4b55cebd0cfd6083fccbc08f678bec8f6 /src/include/utils/numeric.h
parent0e9d75c6ac97cfb370313b0aff803f9f464d0758 (diff)
Little precision fix for POWER(). I discovered problems with big
exponents. Jan
Diffstat (limited to 'src/include/utils/numeric.h')
-rw-r--r--src/include/utils/numeric.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/numeric.h b/src/include/utils/numeric.h
index a22c77746d3..1b96b86d54c 100644
--- a/src/include/utils/numeric.h
+++ b/src/include/utils/numeric.h
@@ -5,7 +5,7 @@
*
* 1998 Jan Wieck
*
- * $Header: /cvsroot/pgsql/src/include/utils/numeric.h,v 1.1 1998/12/30 19:56:35 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/include/utils/numeric.h,v 1.2 1998/12/30 20:46:06 wieck Exp $
*
* ----------
*/
@@ -27,7 +27,7 @@
#define NUMERIC_MAX_DISPLAY_SCALE NUMERIC_MAX_PRECISION
#define NUMERIC_MIN_DISPLAY_SCALE NUMERIC_DEFAULT_SCALE + 4
-#define NUMERIC_MAX_RESULT_SCALE (NUMERIC_MAX_PRECISION + 4)
+#define NUMERIC_MAX_RESULT_SCALE (NUMERIC_MAX_PRECISION * 2)
#define NUMERIC_MIN_RESULT_SCALE (NUMERIC_DEFAULT_PRECISION + 4)
#define NUMERIC_UNPACKED_DATASIZE (NUMERIC_MAX_PRECISION * 2 + 4)