BUG #5745: geometry bug? - Mailing list pgsql-bugs

From Jin
Subject BUG #5745: geometry bug?
Date
Msg-id 201011101008.oAAA8Xm2028579@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5745: geometry bug?
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5745
Logged by:          Jin
Email address:      jindiax@gmail.com
PostgreSQL version: 8.4.5
Operating system:   windows xp pro sp3
Description:        geometry bug?
Details:

The distance of the horizontal lseg and the point on that is inaccurate.

select point(1.0,1.0) <-> lseg'(0.0,0.0),(2.0,0.0)';
↓
result 1.4142135623731

must be 1.0

P.S.
I'm sorry about if it was already reported.
Because I can't read English well.

pgsql-bugs by date:

Previous
From: "静安寺"
Date:
Subject: Why dose the planner select one bad scan plan.
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #5735: pg_upgrade thinks that it did not start the old server