Name

exp()

Description

Returns Euler's number e (2.71828...) raised to the power of the value parameter.

Examples

  • float v1 = exp(1.0);
    println(v1);  // Prints "2.7182817"
    
    

Syntax

  • exp(n)

Parameters

  • n(float)exponent to raise

Return

  • float