|
|
Alex Vandiver <van### [at] tiacnet> wrote:
: Firstly, there seems to be some portability problems with
: respect to isosurfaces -- namely division by zero. Rendering the
: following scene produces two completely different results under Linux
: and Windows.
Actually it's not a portability problem. As far as I know, the C standard
says that if a division by 0 occurs, the compiler is free to do whatever
it wants. It can return some value, it can terminate the program with an
error, it can draw a nude woman on your screen... whatever it wants.
So you can't expect anything if you make a division by 0.
--
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/
Post a reply to this message
|
|