Hi Tels,
I don't speak Perl, but in C that would overflow the temporary
expression calculated before it is passed as an argument to new()!
Try: my $num = Math::BigInt->new(-1 * (1<<24)) * Math::BigInt->new(1<<24);
Bye, Heribert ([EMAIL PROTECTED])
> -----Original Message-----
> From: Tels [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, November 14, 2001 19:35
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Cygwin Perl and Module Math::BigInt
>
[Heribert] [snip]
> >my $num = Math::BigInt->new(-1 * (1<<24) * (1<<24));
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/