develooper Front page | perl.perl5.porters | Postings from March 2003

Re: [PATCH] glibc _moddi3

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
March 2, 2003 02:17
Subject:
Re: [PATCH] glibc _moddi3
Message ID:
20030302101722.GG7547@kosh.hut.fi
On Sun, Mar 02, 2003 at 12:09:33PM +0200, Enache Adrian wrote:
> On Sun, Mar 02, 2003 at 11:18:17AM +0200, Jarkko Hietaniemi wrote:
> > Thanks for the enhancement suggestions (abs() and PL_op->op_ppaddr),
> > the change is now in (#18797).
> 
> My Perl has 64-bit IVs and 32-bit ints. Only llabs() (C99 only)
> will get it right in this case.

Ahhh, good point.

> The compiler probably does a good job and optimize right = -right,
> left % right anyway.

Another good point.  I'll go back to the right = -right scheme.

-- 
Jarkko Hietaniemi <jhi@iki.fi> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About