JCL Help:Power@Float@Float

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns Base to the power Exponent.


Pascal

 function Power(const Base: Float; const Exponent: Float): Float; overload;
function Power(const Z: TPolarComplex; const Exponent: TRectComplex): TPolarComplex; overload;
function Power(const Z: TPolarComplex; const Exponent: Float): TPolarComplex; overload;


Parameters

Parameters Description
const Base: Float Base value.
const Exponent: Float Exponent value.


Return Value

Base to the power Exponent.


Description

Power calculates Base to the power Exponent. If Base equals 0 the result is 0, if Exponent equals 0 the result is 1. If the exponent is an integer as opposed to a floating point value you should use PowerInt instead.


See Also

PowerInt TenToY TwoToY


About

Unit

JclMath


Donator

Clayton Collie


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page