[m-rev.] for review: float__pow: accept negative exponent; Russian peasants alg
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Mar 15 15:47:44 AEDT 2002
On 15-Mar-2002, Peter Moulder <pmoulder at csse.monash.edu.au> wrote:
> Let float__pow handle negative exponents.
> Use "Russian peasants" algorithm for float__pow and int__pow.
> New predicates int__even/1, int__odd/1.
I'm not entirely convinced that even/1 and odd/1 are sufficiently useful
to go in the standard library. But I suppose they are pretty harmless.
Anyway, the rest of the diff looks fine.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list