What about sage: int(10^20)
Le 19/07/2019 à 19:14, Dima Pasechnik a écrit :
I can build cypari with SAGE_CHECK=yes, everything passes. But pari(10^20) is a problem. Could anyone point me possible causes? sage: pari(10^19) 10000000000000000000 sage: pari(10^20) 7766279631452241920 sage: Exiting Sage (CPU time 0m0.15s, Wall time 0m28.21s). PARI/GP does work on this example, though: $ ./sage -gp GP/PARI CALCULATOR Version 2.11.1 (released) amd64 running freebsd (x86-64 kernel) 64-bit version compiled: Jul 18 2019, FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) threading engine: single (readline not compiled in, extended help enabled) Copyright (C) 2000-2018 The PARI Group PARI/GP is free software, covered by the GNU General Public License, and comes WITHOUT ANY WARRANTY WHATSOEVER. Type ? for help, \q to quit. Type ?17 for how to get moral (and possibly technical) support. parisize = 8000000, primelimit = 500000 ? 10^19 %1 = 10000000000000000000 ? 10^20 %2 = 100000000000000000000
-- 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/02634249-b980-e32f-5420-53004498f237%40gmail.com.