1. Computing
Glossary|Tips/Tricks|FREE App/VCL|Best'O'Net|Books|Link Back

Delphi Programming RTL Reference|By Category|Alphabetically|By Unit
 

Power

unit
math
category
arithmetic routines

declaration
function Power(Base, Exponent: Extended): Extended;

description
Power raises Base to the power specified by Exponent.

example
var PIe : extended;
	
PIe := Power(PI, Exp(1.0));

//PIe = 21.963 or PI^e

in real code

see also
IntPower


 Free Delphi code snippet inside every Delphi Newsletter!
Subscribe to the Newsletter
Name
Email

 Got some code to share? Got a question? Need some help?

©2013 About.com. All rights reserved.