Skip to content

The Mwnci Scripting Language

Mwnci expm1() Function

Syntax

expm1(number)

Description

The expm1() returns e**x – 1, the base-e exponential of x minus 1

Example

include("math")
printf("%.6f\n", expm1(0.01))
printf("%.6f\n", expm1(-1))


0.010050
-0.632121

Index

  • What is MSL?
  • MSL Operators
  • MSL Compound Statements
    • foreach
    • function
    • if
    • switch
    • while
  • Mwnci Comments
  • Mwnci Variables
  • Mwnci Arrays
  • Mwnci Hashes
  • Built-in Functions
  • Mwnci Includes
    • Included Main Functions
    • Included String Functions
    • Included Math Functions
    • Included File Functions
    • Included Process Functions
    • Included Password Functions
    • Included Group Functions
    • Included Shadow Password Functions
    • Included Network Functions
  • The Mwnci REPL (console)
  • Examples
The Mwnci Scripting Language Proudly powered by WordPress