Tom Lane wrote:
What is the reason for maintaining separate rscale and dscale values in
numeric variables?
I am finding that this arrangement leads to some odd results, for
example this:
regression=# select (exp(ln(2.0)) - 2.0);
?column?
-
Jan Wieck [EMAIL PROTECTED] writes:
Tom Lane wrote:
What is the reason for maintaining separate rscale and dscale values in
numeric variables?
You need to carry around a decent number of digits when you divide
already. Exposing them in a manner that numericcol(15,2) / 3.0 all of
the sudden
Tom Lane wrote:
Jan Wieck [EMAIL PROTECTED] writes:
Tom Lane wrote:
What is the reason for maintaining separate rscale and dscale values in
numeric variables?
You need to carry around a decent number of digits when you divide
already. Exposing them in a manner that numericcol(15,2)
What is the reason for maintaining separate rscale and dscale values in
numeric variables?
I am finding that this arrangement leads to some odd results, for
example this:
regression=# select (exp(ln(2.0)) - 2.0);
?column?
-
-0.
(1 row)
regression=#