POV-Ray : Newsgroups : povray.programming : Alternative Box Intersection Algorithm : Re: Alternative Box Intersection Algorithm Server Time
30 Jun 2024 12:16:28 EDT (-0400)
  Re: Alternative Box Intersection Algorithm  
From: Christoph Hormann
Date: 14 Sep 2004 18:20:01
Message: <ci7qp4$iac$1@chho.imagico.de>
Ryan Lamansky wrote:
> 
> 
> Yes.  The result of a 1.0/0.0 in IEEE floating point is 
> PositiveInfinity.  The math related to infinite values is interesting, 
> but doesn't break the algorithm in any way.

But it does not work on non-IEEE floating point systems.   The C 
language standards do not guarantee this to work like you expect it.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 06 Jul. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

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