POV-Ray : Newsgroups : povray.advanced-users : what's the power of povray? Server Time
30 Jul 2024 14:20:19 EDT (-0400)
  what's the power of povray? (Message 11 to 12 of 12)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Goran Begicevic
Subject: Re: what's the power of povray?
Date: 7 Dec 1999 10:18:58
Message: <384D2563.5EF7526@tidax.se>
hehehe...it's probably the old truth that it's harder to type "unsigned"
or "unsigned long integer" than just "int".

Have you noticed that most of M$ installation programs wrap around 2GB
boundaries when reporting free space on the harddrive?

>   Unsigned integers are (of course) part of the ANSI C standard, so I don't
> understand why it should be a portability problem.
>   It shouldn't be a performance problem. AFAIK in most of currently used
> computers signed and unsigned integers are equally fast.
> 
> --
> 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

From: Nieminen Juha
Subject: Re: what's the power of povray?
Date: 8 Dec 1999 04:35:35
Message: <384e2667@news.povray.org>
I have learnt this: _Always_ use unsigned types as default. Use signed
types _only_ of you really need negative numbers. You will save yourself a
lot of trouble.

-- 
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.