It's not mean't to me a "useful" function, purely a "simple" bit of
code to see how different compilers performed
with it. Both IAR and another (forgot name) compiler performed the
<benchmark> at ~35 hz, gcc was 7hz, so the code is valid to show this
kind of perfomance difference.
Be my guest in writing some "real" code to better test float and trig
function .....
Bernie
On Thursday, June 5, 2003, at 12:23 AM, Daniel Néri wrote:
And why would anyone want to invoke asin(y) 20 times with a variable
'y' that never changes, and then throw away the result?