Robert Kern wrote:
On 8/16/10 9:29 PM, Roy Smith wrote:
In article<i4cqg0$ol...@lust.ihug.co.nz>,
Lawrence D'Oliveiro<l...@geek-central.gen.new_zealand> wrote:
In message<roy-ee1b7f.21001716082...@news.panix.com>, Roy Smith wrote:
5) real intensity[160.0 : 30.0 : 0.01]
How many elements in that array?
c) neither of the above. More specifically, 13,001 (if I counted
correctly).
13000, actually. Floating point is a bitch.
Or 12999.9999999 if you're unlucky. Floating point is a *real* bitch!
--
Greg
--
http://mail.python.org/mailman/listinfo/python-list