| At 3:04 PM +0200 9/1/98, roger k wrote:
>exp(x) returns e raised to the xth power : e^x
>
>what you are looking for is the ipow,kpow or apow opcodes
Just for the record, in addition to ipow, kpow, and apow (which are the
best way) you can also do 100^2 as:
i1 = exp(2*log(100))
or aa^ab as
a1 = exp(ab*log(aa))
-------------------------------------------------------------------------------
Erik Spjut (pronounce ju as long u or yew) - Associate Professor of Engineering
and Associate Director for Engineering Computing, Center for Design Education
Harvey Mudd College, Claremont, CA 91711-5990 USA
Erik_Spjut@hmc.edu Ph & Voice mail (909) 607-3890 Fax (909) 621-8967
|