Page 1 of 1

floating point lib

PostPosted: Sep 3, 2005 @ 2:58pm
by torus
Hi folks.

I just want to share my excitement about the software float code from Peter Teichmann.

http://www.peter-teichmann.de/download/fp.zip

I did some number crunching (inversion and matrix multiplication of a 300*300 float-matrix). The timing shows an average increase by factor 1.8. If I consider how much time is spent in housekeeping and index calculation I'd expect speedup of the raw math primitives of at least factor two.

The code needs a bit love to compile with EVC, also it does not do any special case handling like NANs and infinites. Rounding modes are ignored as far as I can see, so the results are a bit imprecise bit still good enough to invert a 300*300 matrix.


I think for cases where some floating point precision is needed this might be a very good alternative to the built in float emulation code.

Re: floating point lib

PostPosted: Sep 4, 2005 @ 3:20am
by hm

PostPosted: Sep 4, 2005 @ 11:01am
by drgoldie

PostPosted: Sep 4, 2005 @ 1:10pm
by torus

Re: floating point lib

PostPosted: Sep 4, 2005 @ 1:20pm
by torus

PostPosted: Sep 4, 2005 @ 2:05pm
by drgoldie

PostPosted: Sep 4, 2005 @ 4:44pm
by torus

PostPosted: Sep 4, 2005 @ 5:46pm
by StephC

PostPosted: Sep 4, 2005 @ 6:03pm
by torus

PostPosted: Sep 5, 2005 @ 9:48am
by dyn

PostPosted: Sep 6, 2005 @ 7:19am
by hm

PostPosted: Sep 6, 2005 @ 12:54pm
by drgoldie

PostPosted: Sep 6, 2005 @ 2:53pm
by StephC

PostPosted: Sep 6, 2005 @ 2:58pm
by drgoldie