ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:fpow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
functions:fpow [2017/03/15 17:33] korshunfunctions:fpow [2017/04/15 17:14] (current) korshun
Line 1: Line 1:
 ====== fpow ====== ====== fpow ======
-{{tag>>math}}+{{tag>math}}
 ''fixed fpow(fixed x, int power)'' ''fixed fpow(fixed x, int power)''
  
 ===== Description ===== ===== Description =====
 Returns x raised to the integer power. Only positive powers are supported. Returns x raised to the integer power. Only positive powers are supported.
 +
 +For an integer version, see [[ipow]].
  
 ===== Examples ===== ===== Examples =====
Line 17: Line 19:
 fpow(0.5, 3) -> 0.125 fpow(0.5, 3) -> 0.125
 </code> </code>
 +
functions/fpow.1489592012.txt.gz · Last modified: 2017/03/15 17:33 by korshun