ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:ipow

Differences

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

Link to this comparison view

Next revision
Previous revision
functions:ipow [2017/03/15 17:33] – created korshunfunctions:ipow [2017/04/15 17:21] (current) korshun
Line 3: Line 3:
 ''int ipow(int x, int power)'' ''int ipow(int 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 a version with fixed-number bases (e.g. 0.5^y), see [[:fpow|fpow()]].+For a version with fixed-number base (e.g. 0.5^y), see [[fpow]].
  
-====== Examples ======+===== Examples =====
 <code> <code>
 ipow(2, 3) -> 8 ipow(2, 3) -> 8
functions/ipow.1489591997.txt.gz · Last modified: 2017/03/15 17:33 by korshun