Implementation of pow(3m) function

Christopher R Volpe volpe at underdog.crd.ge.com
Mon Aug 6 21:54:39 AEST 1990


In article <11143 at alice.UUCP>, ark at alice.UUCP (Andrew Koenig) writes:
|>If such an
|>implementation uses exp and log for the ordinary cases, it will
|>almost surely not be monotonic.  That is, it will be possible to
|>find positive x, y, and z such that y > z and pow(x,y) < pow(x,z).

I sure hope so, since there are trivial real-life cases where this is
true. E.g.: x=0.5, y=3, z=2. pow(x,y)=.125  <  pow(x,z)=.25

Am I missing something????

|>-- 
|>				--Andrew Koenig
|>				  ark at europa.att.com

Chris Volpe
GE Corporate R&D
volpecr at crd.ge.com                           



More information about the Comp.lang.c mailing list