* The new Mersenne prime...
@ 2006-01-24 21:44 Marius Vollmer
0 siblings, 0 replies; only message in thread
From: Marius Vollmer @ 2006-01-24 21:44 UTC (permalink / raw)
Hi,
guile> (define m43 (1- (expt 2 30402457)))
guile> (integer-length m43)
30402457
guile> (remainder m43 8352716958173659)
2698619340888656
guile> (number->string m43 16)
"fffff....."
guile> m43
Segmentation fault
So we can handle numbers like that, but we can't print them in
decimal...
--
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-24 21:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-24 21:44 The new Mersenne prime Marius Vollmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).