1 2 3 4 5
from cython.cimports.libc.math import sin @cython.cfunc def f(x: cython.double) -> cython.double: return sin(x * x)