We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d48b33f commit ee7edf7Copy full SHA for ee7edf7
src/flint/types/fmpz.pyx
@@ -20,16 +20,11 @@ cdef fmpz_get_intlong(fmpz_t x):
20
"""
21
cdef char * s
22
if COEFF_IS_MPZ(x[0]):
23
- print("fmpz_get_intlong: 1")
24
s = fmpz_get_str(NULL, 16, x)
25
- print("fmpz_get_intlong: 2")
26
v = int(bytes(s).decode('ascii'), 16)
27
- print("fmpz_get_intlong: 3")
28
libc.stdlib.free(s)
29
- print("fmpz_get_intlong: 4")
30
return v
31
else:
32
- print("fmpz_get_intlong: small")
33
return <slong>x[0]
34
35
cdef int fmpz_set_any_ref(fmpz_t x, obj):
0 commit comments