Csound Csound-dev Csound-tekno Search About

[Csnd] Fw: Re: RE: Survey of Floats Vs. Doubles

Date2010-08-25 03:07
From"Art Hunkins"
Subject[Csnd] Fw: Re: RE: Survey of Floats Vs. Doubles
OK - I surrender.

I did my own little test of 5.11 floats vs. 5.11 doubles with Xanadu 
(regular version). On my Windows XP desktop, the doubles version is indeed 
ever-so-slightly *faster*.

Results:
5.11 floats (commandline): real 25.924  CPU: 25.922
5.11 doubles (commandline): real 25.565  CPU: 25.563

My desktop is probably average for today's technology: Athlon 64 x2 Dual 
Core Processor 5200+ 2.71GHz, with 2GB RAM.

So my vote is for doubles as well.

Can I still assume, however, that for 5.11 and *"older"* technology, such as 
the XO's and netbooks, that floats maintain their speed advantage?  (This is 
what my previous tests showed, though with earlier versions of Csound5.)

Art Hunkins

----- Original Message ----- 
From: "Art Hunkins" 
To: 
Sent: Sunday, August 22, 2010 2:08 PM
Subject: Re: [Csnd] Re: RE: Survey of Floats Vs. Doubles


> My work is in real time only, and I've used floats forever. However, I'm 
> open to change.
>
> A year or more ago when I did tests, floats was signficantly faster (by 
> 17% or so, IIRC) than doubles. Recently Mike and Felipe seem to have found 
> that one is now as fast as the other, in some cases with doubles at a 
> slight advantage.
>
> Anyone who has current data, especially relevent to Windows XP up through 
> Windows 7, and to 32-bit vs. 64-bit operating systems, I would much 
> appreciate the information.
>
> Art Hunkins
>
> ----- Original Message ----- 
> From: "jean-pierre lemoine" 
> To: 
> Sent: Sunday, August 22, 2010 1:36 PM
> Subject: [Csnd] Re: RE: Survey of Floats Vs. Doubles
>
>
>>I use doubles only, for real time.
>>
>> jp
>>
>>>> Date: Sun, 22 Aug 2010 07:33:27 -0700
>>>> From: jacobjoaquin@gmail.com
>>>> To: csound@lists.bath.ac.uk
>>>> Subject: [Csnd] Survey of Floats Vs. Doubles
>>>>
>>>> I'm trying to figure out if I should be developing Csoundo initially
>>>> for the floats or doubles version of Csound, though I have no idea
>>>> which is more commonly used these days.
>>>>
>>>> I know the installer for OS X comes with both (though both csnd.jars
>>>> point to the floats, which is an entirely different issues.) I'm
>>>> unsure of the Windows and Linux pre-compiled binaries, as I couldn't
>>>> find an information regarding this at sourceforge. And someone told me
>>>> that Ubuntu ships with Csound doubles. Are there any other packages
>>>> out there I should be aware of?
>>>>
>>>> Best,
>>>> Jake
>>>> --
>>>> The Csound Blog - http://csound.noisepages.com/
>>>> Slipmat - http://slipmat.noisepages.com/
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>> "unsubscribe
>>>> csound"
>>>>
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
>> csound"
>>
> 



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"