PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Floating Point Arithmetic

I am looking for an efficient floating point arithmetic for ARM (for places where fixed is not enough); does not have to be IEEE, and does not necessarily have to normalize numbers after each operation.

Does anyone know of a good reference?

Thanks,
HM
I can't answer your question, but it might interest you that Intel C++ Compiler's floating point arithmetics is few times faster than evc's.

I'm also looking for a stuff related :). I need a fixed point math complete class(with trigonometrics, including asin/acos/atan), so that I will only need to change variables declaration and usage of trigonometrics. It's pretty tricky to make one myself ;). I believe a stuff like this would be one of(if not) most useful things ever in mobile gamedev.

I've been searching for one in a web, but all I found using x86 asm(for a few functions), which I don't know, so I can't port it to c++.
You could always have a poke at Linux's FP stuff - ISTR the nwfpe is supposed to be good ...
torus wrote:http://www.peter-teichmann.de/download/fp.zip

http://lorien.handhelds.org/ARMlinux/people/nico/ieee/

Danke schoen! Genau was ich gesucht habe... :-)

- HM