On Fri, 29 Oct 2010 16:01:12 -0700, Paul Ivanov <pivanov314(a)gmail.com> wrote:
I only figured out that the error was on the Python
side as I
typed the previous email, and should have had more patience to
just do the above myself.
The argument to ceil was inf, because step was 0.0, since on line
63 of test_clmath, the step argument was passed as (b-a)/s with
all a,b,s all ints, and s>(b-a), hence the troubles.
Me no understand still. test_clmath uses 'from __future__ import
division', and I thought that this automatically makes all the integer
division rubbish go away. Why not here?
I fixed it here  (view in your browser using ),
also made a one line change in test_clmath for the sizes, two of
which were both 1024 previously.
Ah, well spotted. :)
I ended up using a slightly different fix:
Thanks for submitting this!