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; Jonas _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
