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

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

IntPower

unit
math
category
arithmetic routines

declaration
function IntPower(Base: Extended; Exponent: Integer): Extended register;

description
IntPower raises Base to the power specified by Exponent.

example
var PI2 : extended;
	
PI2 := IntPower(PI,2);

//PI2 = 9.8696044

in real code

see also
Power


 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.