Cousin Ricky <ric### [at] yahoo com> wrote:
> This isn't so much a bug as a floating point limitation. Pi/2 has no
> exact representation in binary, so you never get exactly 90 degrees.
I figured it was something along those lines -
which is why I was attempting a quick experimental workaround with select ().
However: I was looking at it from the perspective of it being a "bug" since
there might be sufficient user expectation for - something - to massage that
little wrinkle so it doesn't affect the end result so drastically.
I was just wondering if perhaps there were other software packages or algorithms
to addrress the issue.
It also doesn't explain why the left endpoint gets moved significantly down and
to the left, when it's the value of the right endpoint that's experiencing the
numerical issue.
And that's where I think I've discovered a REAL bug in the computation of the
cylinder.
- BW
Post a reply to this message
Attachments:
Download 'trigfunctions.png' (58 KB)
Preview of image 'trigfunctions.png'

|