Re: Convert to float and more
Re: Convert to float and more
- Subject: Re: Convert to float and more
- From: Darrin Cardani <email@hidden>
- Date: Thu, 5 Jun 2003 09:20:25 -0500
At 9:35 AM +0200 6/5/03, Urs Heckmann wrote:
Wouldn't it be nice to publish a small tutorial with ultra-optimized
example code and tricks for common problems? I.e.:
sin-cos approximation (getting both values at once)
Go to:
http://www.shellandslate.com/ and click on "Research" at the
top, then click on "Computer Math 101" on the left side. I'd love to
see some of these written up as AltiVec routines that can do an
array's worth at a time. That would probably offer some significant
speedups for certain types of processing.
pow( 2, x )
You mean just shifting, or do you mean fractional powers, too?
(float) int
Well, we just discussed this, didn't we? :-)
(int) float
I am interested in how this is generally done when the processor
doesn't have a nice instruction for it.
Thanks,
Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<
http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.