[Cython] problems with C numeric types
Lisandro Dalcin
dalcinl at gmail.com
Sun Feb 8 00:18:42 CET 2009
On Sat, Feb 7, 2009 at 8:16 PM, Robert Bradshaw
<robertwb at math.washington.edu> wrote:
>
> This is like asking if someone does
>
> cdef unsigned int a
> cdef int b
> return a + b
>
> I don't think a + b should be "upgraded" to a long (which may not
> even be bigger), just because it might overflow.
>
OK.
--
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
More information about the Cython-dev
mailing list