Reference for the BALTENSPERGER programming language, an art project of Stefan Baltensperger

Name

raechne_Hoch()

Examples
Komazahl  a = raechne_Hoch( 1, 3);  // Sets "a" to 1*1*1 = 1
Komazahl  b = raechne_Hoch( 3, 5);  // Sets "b" to 3*3*3*3*3 = 243
Komazahl  c = raechne_Hoch( 3,-5);  // Sets "c" to 1 / 3*3*3*3*3 = 1 / 243 = .0041
Komazahl  d = raechne_Hoch(-3, 5);  // Sets "d" to -3*-3*-3*-3*-3 = -243
Description Facilitates exponential expressions. The raechne_Hoch() function is an efficient way of multiplying numbers by themselves (or their reciprocal) in large quantities. For example, raechne_Hoch(3, 5) is equivalent to the expression 3*3*3*3*3 and raechne_Hoch(3, -5) is equivalent to 1 / 3*3*3*3*3.
Syntax
raechne_Hoch(num, exponent)
Parameters
num Ganzizahl or Komazahl : base of the exponential expression
exponent Ganzizahl or Komazahl : power of which to raise the base
Usage Web & Application
Related Wurzle()
Stefan Baltensperger 2009

Creative Commons License