POV-Ray : Newsgroups : povray.general : 32.32 fixed float math? : 32.32 fixed float math? Server Time
1 Aug 2024 18:26:37 EDT (-0400)
  32.32 fixed float math?  
From: Raf256
Date: 2 Jul 2005 12:25:35
Message: <u97gp2-vq7.ln1@raf256.com>
Hi,
just wondering, since the Amd64 CPUs (or general 64 bit ones) are getting
more popular, wouldnt it be a good idea to use 32.32 fixed floats?

All basic math on them can be done as on 64 bit integers AFAIR, and  they
offer size of about -2,000,000,000 .. +2,000,000,000 with precision of 
.0000000004 with seems realy enought for PovRay needs (anyway using in scene
values below 0.0001 and in some conditions even below 0.001 leed to some
distortions).

And such match should be very fast I quess...?

-- 


Post a reply to this message

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