System.Math.IntPower

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IntPower(const Base: Single; const Exponent: Integer): Single;
function IntPower(const Base: Double; const Exponent: Integer): Double;
function IntPower(const Base: Extended; const Exponent: Integer): Extended;

C++

extern DELPHI_PACKAGE float __fastcall IntPower(const float Base, const int Exponent)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

Calculates the integral power of a base value.

IntPower raises Base to the power specified by Exponent.

See Also


Code Examples