Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!samsung!uakari.primate.wisc.edu!crdgw1!underdog!volpe From: volpe@underdog.crd.ge.com (Christopher R Volpe) Newsgroups: comp.lang.c Subject: Re: Implementation of pow(3m) function Keywords: math-library exponentiation C Message-ID: <10803@crdgw1.crd.ge.com> Date: 6 Aug 90 11:54:39 GMT References: <1990Aug2.120706.25713@bnrgate.bnr.ca> <13474@smoke.BRL.MIL> <46584@brunix.UUCP> <11143@alice.UUCP> Sender: news@crdgw1.crd.ge.com Reply-To: volpe@underdog.crd.ge.com (Christopher R Volpe) Lines: 18 In article <11143@alice.UUCP>, ark@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@europa.att.com Chris Volpe GE Corporate R&D volpecr@crd.ge.com