POV-Ray : Newsgroups : povray.general : Large numbers? : Re: Large numbers? Server Time
8 Aug 2024 08:11:31 EDT (-0400)
  Re: Large numbers?  
From: Warp
Date: 2 Apr 2001 07:14:09
Message: <3ac85f01@news.povray.org>
Tek <tek### [at] evilsuperbraincom> wrote:
: you can do 2 billion in integers). What it also means is that nothing is
: ever precise

  I wouldn't say "ever". For example 1.0 + 1.0 is exactly 2.0, no more, no
less. (Well, at least if IEEE floating point numbers are used.)

  Of course something like 1.1 + 1.1 may not be exactly 2.2... (mainly
because the value 1.1 can't be represented accurately in the IEEE format.)

-- 
char*i="b[7FK@`3NB6>B:b3O6>:B:b3O6><`3:;8:6f733:>::b?7B>:>^B>C73;S1";
main(_,c,m){for(m=32;c=*i++-49;c&m?puts(""):m)for(_=(
c/4)&7;putchar(m),_--?m:(_=(1<<(c&3))-1,(m^=3)&3););}    /*- Warp -*/


Post a reply to this message

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