Re: Point on Line Segment in 2D. Which code is faster ? Can youimprove it ?
"Skybuck Flying" <nospam@hotmail .com> writes:
[color=blue]
> Can you still find a point which would in theory be on the line segment but
> would still be mis-calculated by the rational number version ? ;)[/color]
One that overflows your rational number implementation, perhaps? (If
it uses bignums, you may have to exhaust the heap).
-k
--
If I haven't seen further, it is by standing in the footprints of giants
"Skybuck Flying" <nospam@hotmail .com> writes:
[color=blue]
> Can you still find a point which would in theory be on the line segment but
> would still be mis-calculated by the rational number version ? ;)[/color]
One that overflows your rational number implementation, perhaps? (If
it uses bignums, you may have to exhaust the heap).
-k
--
If I haven't seen further, it is by standing in the footprints of giants
Comment