POV-Ray : Newsgroups : povray.newusers : (X <= D) different than ((X<D) | (X=D)) ? Server Time
28 Jul 2024 20:30:27 EDT (-0400)
  (X <= D) different than ((X<D) | (X=D)) ? (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Bob Hughes
Subject: Re: (X <= D) different than ((X<D) | (X=D)) ?
Date: 22 Apr 2000 20:20:29
Message: <390241cd@news.povray.org>
| Sooo....
| What's less than AND equal to 2? ;)

Good point.


Post a reply to this message

From: Jan Walzer
Subject: Re: (X <= D) different than ((X<D) | (X=D)) ?
Date: 28 Apr 2000 17:21:20
Message: <390a00d0@news.povray.org>
Warp <war### [at] tagpovrayorg> schrieb in im Newsbeitrag:
390209b1@news.povray.org...
> : Further, the documentation should make clear that floating-point math is
> : _not_ precise. Especially in long operations the error will build up
>
>   That's right. The key problem here is the value 0.1. It can't be
accurately
> represented in binary format.
>   We have the same problem with the decimal format with values like 1/3;
> it can't be represented accurately.
>
>   It is NOT a bug. It's just a hardware limitation.
Hmm ... so why not implement a complete algebra-system into POV ???
This would also make it easier to build these physical-modells some people
are always trying to ... ;-)

OK ... I know it would be hard ... Just a thougt ...

--

 ,',    Jan Walzer      \V/  http://wa.lzer.net     ,',
',','   student of      >|<  mailto:jan### [at] lzernet ',','
  '   ComputerScience   /A\  +49-177-7403863         '


Post a reply to this message

From: Warp
Subject: Re: (X <= D) different than ((X<D) | (X=D)) ?
Date: 29 Apr 2000 06:44:48
Message: <390abd20@news.povray.org>
Jan Walzer <wal### [at] informatikuni-hallede> wrote:
: Hmm ... so why not implement a complete algebra-system into POV ???

  Speed.
  It would be prohibitely slow.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.