User Tools

Site Tools


arduino:math:pow

Differences

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

Link to this comparison view

arduino:math:pow [2024/02/16 01:04] (current)
Line 1: Line 1:
 +======pow(base, exponent)   ======
 +
 +====Description   ====
 +
 +Calculates the value of a number raised to a power. Pow() can be used to raise a number to a fractional power. This is useful for generating exponential mapping of values or curves.
 +
 +====Parameters   ====
 +
 +base: the number (''float'')
 +
 +exponent: the power to which the base is raised (''float'')
 +
 +====Returns   ====
 +
 +The result of the exponentiation (''double'')
 +
 +
 +====Example   ====
 +See the [[http://arduino.cc/playground/Main/Fscale|fscale]] function in the code library.
 +
 +====See also   ====
 +
 +* [[arduino:math:Sqrt]]
 +* [[arduino:data types:Float]]
 +* [[arduino:data types:Double]]
 +
 +
 +
 +Source: arduino.cc
  

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
arduino/math/pow.txt · Last modified: 2024/02/16 01:04 (external edit)

Impressum Datenschutz