E

The mathematical constant e.

Usage

var E = require( '@stdlib/constants/float64/e' );

E

The mathematical constant e, also known as Euler's number or Napier's constant. e is the base of the natural logarithm.

var bool = ( E === 2.718281828459045 );
// returns true

Examples

var E = require( '@stdlib/constants/float64/e' );

console.log( E );
// => 2.718281828459045

C APIs

Usage

#include "stdlib/constants/float64/e.h"

STDLIB_CONSTANT_FLOAT64_E

Macro for Euler's number.

Did you find this page helpful?