On 2007-05-10, Ross Ridge <[EMAIL PROTECTED]> wrote:
> Grant Edwards <[EMAIL PROTECTED]> wrote:
>>In the C implementations, the algorithms will be done
>>implemented in single precision, so doing my Python prototyping
>>in as close to single precision as possible would be "a good
>>thing".
>
> Something like numpy might give you reproducable IEEE 32-bit
> floating point arithmetic, but you may find it difficult to
> get that out of a IA-32 C compiler.
That's OK, I don't run the C code on an IA32. The C target is
a Hitachi H8/300.
> (You might also want to consider whether you want to using
> single precision in your C code to begin with, on IA-32 CPUs
> it seldom makes a difference in performance.)
Since I'm running the C code on a processor without HW floating
point support, using single precision makes a big difference.
--
Grant Edwards grante Yow! I have many CHARTS
at and DIAGRAMS..
visi.com
--
http://mail.python.org/mailman/listinfo/python-list