On Fri, Oct 9, 2009 at 5:58 AM, Dag Sverre Seljebotn
<[email protected]> wrote:
>
> I think I figured out a nice way to fix this issue in general
> though...optimize
>
> some_int = int(some_float)
>
> Nice and Pythonic and one doesn't have to bother with casts, types etc.
>
> http://trac.cython.org/cython_trac/ticket/400
>

Despite my previous comments, a big +1 for your idea...



-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to