[linux-audio-dev] next power of two
Taybin Rutkin
taybin at earthlink.net
Thu Sep 18 09:27:00 UTC 2003
Heh, that doesn't sound very RISC-like to me...
Taybin
-----Original Message-----
From: Maarten de Boer <mdeboer at iua.upf.es>
Sent: Sep 18, 2003 7:41 AM
To: linux-audio-dev at music.columbia.edu
Subject: Re: [linux-audio-dev] next power of two
By the way, it seems the PPC has instructions to do it.
>From the "PPC compiler writers guide":
Round Up or Down to Next Power of 2
The floor power of 2 ( flp2) and ceiling power of 2 ( clp2) functions
are similar to the floor and ceiling functions, respectively, but they
round to an integral power of 2, rather than to an integer.
More information about the Linux-audio-dev
mailing list