[fpc-devel] asm to Object Pascal

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Apr 18 10:09:34 CEST 2008

On 18 Apr 2008, at 10:07, Graeme Geldenhuys wrote:

> There is a function implemented in Assembly language, but I would  
> prefer a Object Pascal implementation. From the name I gather it's a  
> math Power function, but not 100% sure how to convert it to Pascal.  
> My ASM knoledge is non-existent. ;)

Use the intpower function from the math unit:

function intpower(base : float;const exponent : Integer) : float;


More information about the fpc-devel mailing list