79170593

Date: 2024-11-08 15:20:10
Score: 0.5
Natty:
Report link

Before C99, even C doesn't support this, so Cython doesn't have any choice.

Starting from C99:

from libc.math cimport INFINITY
cdef double f():
    return INFINITY

See Cython source https://github.com/cython/cython/blob/master/Cython/Includes/libc/math.pxd

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: user202729