Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# Automatically generated by /home/embray/src/sagemath/sage/src/sage_setup/autogen/interpreters/generator.py. Do not edit! cimport sage.libs.gsl.math # Add dependency on GSL
from cpython.ref cimport PyObject cdef extern from "Python.h": void Py_DECREF(PyObject *o) void Py_INCREF(PyObject *o) void Py_CLEAR(PyObject *o)
object PyList_New(Py_ssize_t len) ctypedef struct PyListObject: PyObject **ob_item
ctypedef struct PyTupleObject: PyObject **ob_item
from cysignals.memory cimport check_allocarray, sig_free
from sage.ext.fast_callable cimport Wrapper
cdef extern from "sage/ext/interpreters/interp_rdf.c": double interp_rdf(double* args, double* constants, PyObject** py_constants, double* stack, int* code) except? -1094648009105371
cdef class Wrapper_rdf(Wrapper): # attributes are declared in corresponding .pxd file
def __init__(self, args): cdef int i cdef int count
def __dealloc__(self): cdef int i
def __call__(self, *args): cdef int i , self._constants , self._py_constants , self._stack ))
cdef bint call_c(self, double* args, double* result) except 0: , self._constants , self._py_constants , self._stack , self._code )
from sage.ext.fast_callable import CompilerInstrSpec, InterpreterMetadata metadata = InterpreterMetadata(by_opname={ 'load_arg': (CompilerInstrSpec(0, 1, ['args']), 0), 'load_const': (CompilerInstrSpec(0, 1, ['constants']), 1), 'return': (CompilerInstrSpec(1, 0, []), 2), 'py_call': (CompilerInstrSpec(0, 1, ['py_constants', 'n_inputs']), 3), 'pow': (CompilerInstrSpec(2, 1, []), 4), 'add': (CompilerInstrSpec(2, 1, []), 5), 'sub': (CompilerInstrSpec(2, 1, []), 6), 'mul': (CompilerInstrSpec(2, 1, []), 7), 'div': (CompilerInstrSpec(2, 1, []), 8), 'ipow': (CompilerInstrSpec(1, 1, ['code']), 9), 'neg': (CompilerInstrSpec(1, 1, []), 10), 'invert': (CompilerInstrSpec(1, 1, []), 11), 'abs': (CompilerInstrSpec(1, 1, []), 12), 'sqrt': (CompilerInstrSpec(1, 1, []), 13), 'ceil': (CompilerInstrSpec(1, 1, []), 14), 'floor': (CompilerInstrSpec(1, 1, []), 15), 'sin': (CompilerInstrSpec(1, 1, []), 16), 'cos': (CompilerInstrSpec(1, 1, []), 17), 'tan': (CompilerInstrSpec(1, 1, []), 18), 'asin': (CompilerInstrSpec(1, 1, []), 19), 'acos': (CompilerInstrSpec(1, 1, []), 20), 'atan': (CompilerInstrSpec(1, 1, []), 21), 'sinh': (CompilerInstrSpec(1, 1, []), 22), 'cosh': (CompilerInstrSpec(1, 1, []), 23), 'tanh': (CompilerInstrSpec(1, 1, []), 24), 'asinh': (CompilerInstrSpec(1, 1, []), 25), 'acosh': (CompilerInstrSpec(1, 1, []), 26), 'atanh': (CompilerInstrSpec(1, 1, []), 27), 'exp': (CompilerInstrSpec(1, 1, []), 28), 'log': (CompilerInstrSpec(1, 1, []), 29), }, by_opcode=[ ('load_arg', CompilerInstrSpec(0, 1, ['args'])), ('load_const', CompilerInstrSpec(0, 1, ['constants'])), ('return', CompilerInstrSpec(1, 0, [])), ('py_call', CompilerInstrSpec(0, 1, ['py_constants', 'n_inputs'])), ('pow', CompilerInstrSpec(2, 1, [])), ('add', CompilerInstrSpec(2, 1, [])), ('sub', CompilerInstrSpec(2, 1, [])), ('mul', CompilerInstrSpec(2, 1, [])), ('div', CompilerInstrSpec(2, 1, [])), ('ipow', CompilerInstrSpec(1, 1, ['code'])), ('neg', CompilerInstrSpec(1, 1, [])), ('invert', CompilerInstrSpec(1, 1, [])), ('abs', CompilerInstrSpec(1, 1, [])), ('sqrt', CompilerInstrSpec(1, 1, [])), ('ceil', CompilerInstrSpec(1, 1, [])), ('floor', CompilerInstrSpec(1, 1, [])), ('sin', CompilerInstrSpec(1, 1, [])), ('cos', CompilerInstrSpec(1, 1, [])), ('tan', CompilerInstrSpec(1, 1, [])), ('asin', CompilerInstrSpec(1, 1, [])), ('acos', CompilerInstrSpec(1, 1, [])), ('atan', CompilerInstrSpec(1, 1, [])), ('sinh', CompilerInstrSpec(1, 1, [])), ('cosh', CompilerInstrSpec(1, 1, [])), ('tanh', CompilerInstrSpec(1, 1, [])), ('asinh', CompilerInstrSpec(1, 1, [])), ('acosh', CompilerInstrSpec(1, 1, [])), ('atanh', CompilerInstrSpec(1, 1, [])), ('exp', CompilerInstrSpec(1, 1, [])), ('log', CompilerInstrSpec(1, 1, [])), ], ipow_range=(-2147483648, 2147483647)) |