sage 9.0 on ubuntu 20.

When raising symbolic expression to large integer power
i get abort() with stack:

gmp: overflow in mpz type

/lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7f26d1c7a859]
/lib/x86_64-linux-gnu/libgmp.so.10(__gmpz_realloc+0xad)[0x7f26d048edcd]
/lib/x86_64-linux-gnu/libgmp.so.10(__gmpz_n_pow_ui+0x7e7)[0x7f26d048ba97]
/lib/x86_64-linux-gnu/libpynac.so.18(_ZNK5GiNaC7numeric5powerEl+0x114)[0x7f26683b1c14]

The non-minimal testcase
===
def binnk3u(n,k):  return ( (n/k)**(k))
n1=(2*10**3);d0=29004853178239;n0=SR(log(n1));tt=binnk3u(n0+d0-1,(d0))
print("passed :(")
===

on sagecell i get no output, just an animated rotating circle.

if possible please don't regress the following, which works:

sage: log(pi)**(2**80)
log(pi)^1208925819614629174706176

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAGUWgD_Un568rw_RfAUmS3YaGiwV4sGh49oVsUkGEC3gvbV1rA%40mail.gmail.com.

Reply via email to