Really, really fast sqrt (not Carmacks)!?!?!?

Started by
30 comments, last by MindWipe 20 years, 8 months ago
hm.. looks like

add r0,r0,lsr #1,#1fc00000

would do the trick on an arm.. but not sure, can we use 2 numbers at the same time? .. anyways. would be fun..

x86, x87 is just crap..

"take a look around" - limp bizkit
www.google.com
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia

My Page davepermen.net | My Music on Bandcamp and on Soundcloud

Advertisement
MathFP [http://home.rochester.rr.com/ohommes/MathFP/] is used a lot for fixed point math in J2ME. I don''t know if it''s fast enough for ray tracing but I use it for a Nokia java game I''m working on and I''ve never had any problems.

This topic is closed to new replies.

Advertisement