E function

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.

Namespace: Microsoft.Quantum.Math

Package: Microsoft.Quantum.QSharp.Foundation

Returns the natural logarithmic base to double-precision.

function E () : Double

Output : Double

A double-precision approximation of the natural logarithic base, $e \approx 2.7182818284590452354$.

See Also