POV-Ray : Newsgroups : povray.unofficial.patches : Noisy thoughts : Re: Noisy thoughts Server Time
2 Sep 2024 04:12:09 EDT (-0400)
  Re: Noisy thoughts  
From: Jérôme Berger
Date: 2 Oct 2000 10:40:15
Message: <39D89E4E.2B200959@enst.fr>
Vahur Krouverk wrote:
> 
> Instead of shifting bit masking with & could be considered as well...
> 
	Well of course, shifting for divisions and bit masking for modulus...

> Generate assembler code and look at it, this might give hint. I tried it
> with IBM compiler and only difference is the fact, that in first case
> double value 1.0 (yes, compiler converted it to double) is put into same
> segment as code, on second case it was put into constant segment. This
> might be one reason (loading constant segment page into memory or
> something like this).
	Good point, I'll try and see what gcc does...


-- 

* Doctor Jekyll had something * mailto:ber### [at] inamecom
* to Hyde...                  * http://www.enst.fr/~jberger
*******************************


Post a reply to this message

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