@stdlib/constants-float64-ln-two
v0.2.2
Published
Natural logarithm of 2.
Downloads
218,074
Readme
LN2
Natural logarithm of
2
.
Installation
npm install @stdlib/constants-float64-ln-two
Usage
var LN2 = require( '@stdlib/constants-float64-ln-two' );
LN2
Natural logarithm of 2
.
var bool = ( LN2 === 0.6931471805599453 );
// returns true
Examples
var LN2 = require( '@stdlib/constants-float64-ln-two' );
console.log( LN2 );
// => 0.6931471805599453
C APIs
Usage
#include "stdlib/constants/float64/ln_two.h"
STDLIB_CONSTANT_FLOAT64_LN2
Macro for the natural logarithm of 2
.
See Also
@stdlib/constants-float64/ln-ten
: natural logarithm of 10.
Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2024. The Stdlib Authors.