<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=821514419-14062006>strk, while I
commend your valiant efforts to reconcile the behaviour of inlined VS outlined
functions and their effect on GEOS robustness, I'm wondering whether this effort
can ever pay off.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=821514419-14062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=821514419-14062006>As I understand the
problem, you're worried that inlined VS outlined code sometimes produces
incorrect results rather than throws exceptions, or perhaps even produces
correct results. It makes sense that this is due to subtle differences in
the way the FP computations are done. But even if you managed to get the
two implementations to behave identically, there would still be a whole set of
test cases which would still either get the wrong answer or throw an
exception. JTS has the same problem right now. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=821514419-14062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=821514419-14062006>I think the best
place to direct effort is in solving the overall problem of robustness in the
fundamental algorithms. Hopefully this will be solid enough that it will
be immune to the inline/outline FP differences. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=821514419-14062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=821514419-14062006>My impression is
that it would be a lot of incredibly finicky work to "solve" the inline/outline
difference, without improving robustness all that much. Or am I missing
something?</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV align=center><FONT face=Arial size=2><STRONG>Martin Davis, Senior Technical
Architect</STRONG><BR><STRONG><FONT color=#0000ff>Vivid Solutions
Inc.
<I>www.vividsolutions.com</I></FONT></STRONG><BR></FONT><EM><FONT face=Arial
size=2>Suite #1A-2328 Government Street Victoria, B.C. V8T 5G5<BR>Phone: (250)
385 6040 - Local 308 Fax: (250) 385 6046</FONT></EM></DIV>
<DIV> </DIV></BODY></HTML>