Re: [DOCS] Functions example results incorrect

2011-07-01 Thread Thom Brown
On 1 July 2011 19:17, Tom Lane wrote: > Thom Brown writes: >> It says that exp(1.0) yields 2.71828182845905. > > exp(1.0) invokes numeric exp() these days, but when the examples were > written, it would have invoked float8 exp().  At least on my machine, > float8 does give the cited results > > N

Re: [DOCS] Geometric function example results

2011-07-01 Thread Thom Brown
On 1 July 2011 19:19, Tom Lane wrote: > Thom Brown writes: >> I noticed that there are no example outputs shown on the geometric >> functions page >> (http://www.postgresql.org/docs/9.0/static/functions-geometry.html). >>  So I've attached a patch which adds them.  I'm not entirely sure to >> ma

Re: [DOCS] Geometric function example results

2011-07-01 Thread Tom Lane
Thom Brown writes: > I noticed that there are no example outputs shown on the geometric > functions page > (http://www.postgresql.org/docs/9.0/static/functions-geometry.html). > So I've attached a patch which adds them. I'm not entirely sure to > make of the 2 example outputs that are very larg

Re: [DOCS] Functions example results incorrect

2011-07-01 Thread Tom Lane
Thom Brown writes: > I've been looking at some of the functions listed in the docs and > noticed some apparent discrepancies. > This page of the docs doesn't seem to match real output for exp or ln: > http://www.postgresql.org/docs/9.0/static/functions-math.html > It says that exp(1.0) yields 2.