Re: [Numpy-discussion] np.savetxt() default format

2014-02-24 Thread Oscar Benjamin
On 24 February 2014 13:26, Daniele Nicolodi wrote: > Hello, > > I've noticed that numpy default format for saving data in ascii > representation with np.savetxt() is "%.18e". Given that the default > data type for numpy is double and that the resolution of doubles is 15 > decimal digits, what's t

[Numpy-discussion] np.savetxt() default format

2014-02-24 Thread Daniele Nicolodi
Hello, I've noticed that numpy default format for saving data in ascii representation with np.savetxt() is "%.18e". Given that the default data type for numpy is double and that the resolution of doubles is 15 decimal digits, what's the reason of the the additional three digits? The three additi