[Coldstuff] More suggestions

Brandon Gillespie brandon@roguetrader.com
Fri, 4 Jan 2002 09:31:29 -0700


On Fri, Jan 04, 2002 at 05:00:41PM +0100, xmath wrote:
> >  > 3. [Genesis] Support exponentiation of integers:
> >
> >This should be okay.
> 
> see http://www.nubz.org/pow.c.txt  for implementations

Checkout pow() in coldc :)

It currently only supports floats, so for the int ops you would have
to do a tofloat() first.  There are alto other mathmatical functions
of this caliber in ops/math.c and they are explained in in coldcore
at: ?coldc>function>numeric>math

-Brandon