Re: General pow(xx,yy) function in Motion 10
> Date: Sat, 05 Dec 2009 16:36:16 -0500
> To: stds-1788 <stds-1788@xxxxxxxxxxxxxxxxx>
> From: Michel Hack <hack@xxxxxxxxxxxxxx>
> Subject: Re: General pow(xx,yy) function in Motion 10
>
> Hossam Fahmy caught my blunder:
> > > I do see an issue however in the case where yy is a singleton, because
> > > that is now an exponent with an even denominator (in both decimal and
> > > binary) if it has a non-zero fractional part.
> >
> > Decimal is not similar to binary in this respect.
>
> Right; I just didn't think straight. Sorry.
>
> Michel.
> ---Sent: 2009-12-05 21:40:12 UTC
And, of course, this applies even to binary when yy is a
singleton integer for the denominator is 1 in that case. :-)
It is the odd integers that produce the negative results
in case of xx < 0, the even integers produce positive
results, & both cases will probably be sent to one of
the other pow's in any practical implementation.
But things like this & many others are kind of the idea
behind a generalized pow, no?
The pow that covers all cases & contains all solutions.
Dan