| Hosted by CoCalc | Download
f(x) = sqrt(x+1) - sqrt(x)
g = fast_callable(f, RealField(500), [x])
g(7.949400000000000000000000000000)
0.172086744777627148570127841316804284349240731007139053579885988633256750917315612188347798924326886244682216587854475068718116208731272588815439039502
f(7.949400000000000000000000000000)
0.172086744777627148570127841317
type(g)
<type 'sage.ext.interpreters.wrapper_rr.Wrapper_rr'>
g.op_list()
[('load_arg', 0), ('load_const', 1.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000), 'add', ('py_call', <function sqrt at 0x7fe1b3105d70>, 1), ('load_arg', 0), ('py_call', <function sqrt at 0x7fe1b3105d70>, 1), 'neg', 'add', 'return']