[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

AW: [FWP] Fwd: How to define 1024-bit integer



Hi!
Lisp handles arbitrary large integers (or at least many flavors of it do).
And in Perl there are
http://search.cpan.org/doc/TELS/Math-1.31/lib/Math/Big.pm,
http://search.cpan.org/doc/TELS/Math-1.31/lib/Math/BigInt.pm, and so on.
Joachim
(BTW I Use your Daily FAQ service for a long time now, and I am very pleased
of it).

-----Ursprüngliche Nachricht-----
Von: Jeff Yoak [mailto:jeff@yoak.com]
Gesendet am: Dienstag, 22. Mai 2001 03:35
An: fwp@technofile.org
Betreff: [FWP] Fwd: How to define 1024-bit integer

All,

I maintain a little one-way mailing service that sends out a randomly 
selected question / answer pair from the Perl FAQ daily.  ( 
http://perl.faq-by-day.org/ ) .  The address that these messages are from 
is repliable and I get a fair number of questions sent to me by people who 
don't understand that the list is broadcast-only.

The fact that this person provided an example tickled me enough that I 
thought I'd share.



>Subject: How to define 1024-bit integer
>Date: Tue, 22 May 2001 11:21:46 +1000
>X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
>Importance: Normal
>
>I need to store and manipulate very huge integer, e.g:
>
>302285957675208730485400262295755939348965152526371203743686814745791058720
2
>081489165634170865190786720829971132598735590653220398072829111682855042508
0
>685894217545141988325453206835015167239608707288467753001511407742419843758
2
>61549402595503699663267742887352924283703974451847
>
>Is there any way, in Perl, C/C++, or any other language? or any way to get
>around?



==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe