power

From The K Language Wiki
Revision as of 06:42, 9 July 2022 by Promovicz (talk | contribs) ("Better category ordering, add redirects to categories, fix pseudo-adverb categories")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Power
x^y
Supported in K2, K3

power raises one number to the power of another, and provides a float value.

Power is fully atomic.

 3 4^5 6
243 4096.0
Works in: Kona