From: Gary Hooyman
Subject: power
Date: 
Message-ID: <IeYOkQy00iQQ8sCkN7@andrew.cmu.edu>
Hello,

Does anyone have a general (power base-number power-number) that works
better than Lucid's implementation of (expt bn pn)?  

-> (expt 0.658 .5)
1.8641498069802828E9


I need something that at least gets close!  Maybe this is a bug in my
version? (v 4.0)

Thanks

Gary Hooyman
Department of Civil Engineering
Carnegie Mellon University

From: Joe Konstan
Subject: Re: power
Date: 
Message-ID: <16sfieINNcs7@agate.berkeley.edu>
In article <··················@andrew.cmu.edu>, Gary Hooyman <·····@andrew.cmu.edu> writes:
|> Hello,
|> 
|> Does anyone have a general (power base-number power-number) that works
|> better than Lucid's implementation of (expt bn pn)?  
|> 
|> -> (expt 0.658 .5)
|> 1.8641498069802828E9
|> 
|> 
|> I need something that at least gets close!  Maybe this is a bug in my
|> version? (v 4.0)

Must be,  I tried it on Lucid 4.0.1+(4-Jun-91) and it returned the correct
answer.

Joe Konstan
From: Barry Margolin
Subject: Re: power
Date: 
Message-ID: <16sgvpINN989@early-bird.think.com>
In article <··················@andrew.cmu.edu> Gary Hooyman <·····@andrew.cmu.edu> writes:
>Does anyone have a general (power base-number power-number) that works
>better than Lucid's implementation of (expt bn pn)?  
>
>-> (expt 0.658 .5)
>1.8641498069802828E9

What kind of system are you on?  It works fine for me in Sun CL 4.0.{0,1},
LCL/SPARC 4.1 beta, and LCL/VAX 2.5.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

······@think.com          {uunet,harvard}!think!barmar
From: Gary Hooyman
Subject: Re: power
Date: 
Message-ID: <seYbHbe00iUz02m3Al@andrew.cmu.edu>
Hello:

My problem with (expt base-number exponent-number) has occurred on Lucid
4.0 running on a DEC 5000/120.  I am convinced that the problem is a bug
in my copy and I'll have to patch in a fix.  Can anyone give me one?

Thank you for your replies to my previous post.


Gary Hooyman
Department of Civil Engineering
Carnegie Mellon University
Pittsburgh, PA
From: Marty Hall
Subject: Re: power
Date: 
Message-ID: <1992Aug19.140358.5170@aplcen.apl.jhu.edu>
In article <··················@andrew.cmu.edu> ·····@andrew.cmu.edu 
(Gary Hooyman) writes:

>Does anyone have a general (power base-number power-number) that works
>better than Lucid's implementation of (expt bn pn)?  
>
>-> (expt 0.658 .5)
>1.8641498069802828E9
>
>I need something that at least gets close!  Maybe this is a bug in my
>version? (v 4.0)

4.0.1 and the older 4.0 (that came with KEE) on the Sun both work fine.

						- Marty
(proclaim '(inline skates))