Hi,
Thanks for the reply. The formatting code, such as it is, is below.
It uses Martin Jansche's
double.py (http://symptotic.com/mj/double/double.py) and then does some
simple bit twiddling.
I'm still hoping someone can help me find a way to use this format for
arrays of float64s.
Ken
Am Dienstag, 08. April 2008 17:22:33 schrieb Ken Basye:
> I've had this happen
> often enough that I found the first thing I did when an output
> difference arose was to print the FP in hex to see if the
> difference was "real" or just a formatting artifact.
Nice idea - is that code available some
Hi,
Thanks, but it's been my experience that formatting FP numbers into
decimal causes a lot of false alarms
all by itself; that is, you get different decimal representations of the
same FP memory value. I've had this happen
often enough that I found the first thing I did when an output
diffe
Will set_printoptions not work for you?
http://www.scipy.org/Numpy_Example_List_With_Doc#head-cc1302f5e9e57de71b578cf25e8a9ffd8aa3a707>
hth,
Alan Isaac
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/list
Hi Folks,
I'm pretty new to Numpy, and I hope someone can help me out with a
couple newbie questions.
First, I'd like, for diagnostic purposes, to print arrays of floating
point numbers in a format of my
choosing. Specifically, I have a formatting function that generates
strings which rep