POV-Ray : Newsgroups : povray.off-topic : Fast Inverse Square Root explained : Re: Fast Inverse Square Root explained Server Time
28 Jul 2024 22:17:48 EDT (-0400)
  Re: Fast Inverse Square Root explained  
From: Le Forgeron
Date: 17 Sep 2012 12:20:53
Message: <50574de5$1@news.povray.org>
Le 17/09/2012 16:19, Darren New nous fit lire :
> On 9/17/2012 7:07, Le_Forgeron wrote:
>> such approximation would impact:
>>   * portability (you now MUST have 32 bits floats, nothing else)
> 
> I would think it would be pretty straightforward to ifdef it if needed.
> 
Next step after the opening of that can of worms: inline assembly...
under #ifdef, of course...

Back to off-topic:
 for having to deals professionally (well, I get paid for that) with a
code with plenty of #ifdef options (it always starts with "a small  and
easy option" from salemen & marketing... ), it is a true nightmare to
debug or even amend (and test coverage is not funny either)


Post a reply to this message

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