Skip to content

Commit de1fca8

Browse files
feat: fix the value of log2-e
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed ---
1 parent eabebfe commit de1fca8

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

lib/node_modules/@stdlib/constants/float16/log2-e/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var FLOAT16_LOG2E = require( '@stdlib/constants/float16/log2-e' );
3535
Base 2 logarithm of the mathematical constant [_e_][eulers-number].
3636

3737
```javascript
38-
var bool = ( FLOAT16_LOG2E === 1.443359375 );
38+
var bool = ( FLOAT16_LOG2E === 1.4423828125 );
3939
// returns true
4040
```
4141

@@ -55,7 +55,7 @@ var bool = ( FLOAT16_LOG2E === 1.443359375 );
5555
var FLOAT16_LOG2E = require( '@stdlib/constants/float16/log2-e' );
5656

5757
console.log( FLOAT16_LOG2E );
58-
// => 1.443359375
58+
// => 1.4423828125
5959
```
6060

6161
</section>

lib/node_modules/@stdlib/constants/float16/log2-e/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Examples
66
--------
77
> {{alias}}
8-
1.443359375
8+
1.4423828125
99

1010
See Also
1111
--------

lib/node_modules/@stdlib/constants/float16/log2-e/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*
2424
* @example
2525
* var val = FLOAT16_LOG2E;
26-
* // returns 1.443359375
26+
* // returns 1.4423828125
2727
*/
2828
declare const FLOAT16_LOG2E: number;
2929

lib/node_modules/@stdlib/constants/float16/log2-e/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
var FLOAT16_LOG2E = require( './../lib' );
2222

2323
console.log( FLOAT16_LOG2E );
24-
// => 1.443359375
24+
// => 1.4423828125

lib/node_modules/@stdlib/constants/float16/log2-e/lib/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* @example
2828
* var FLOAT16_LOG2E = require( '@stdlib/constants/float16/log2-e' );
29-
* // returns 1.443359375
29+
* // returns 1.4423828125
3030
*/
3131

3232
// MAIN //
@@ -36,11 +36,11 @@
3636
*
3737
* @constant
3838
* @type {number}
39-
* @default 1.443359375
39+
* @default 1.4423828125
4040
* @see [OEIS]{@link https://oeis.org/A001113}
4141
* @see [Wikipedia]{@link https://en.wikipedia.org/wiki/E_(mathematical_constant)}
4242
*/
43-
var FLOAT16_LOG2E = 1.443359375;
43+
var FLOAT16_LOG2E = 1.4423828125;
4444

4545

4646
// EXPORTS //

lib/node_modules/@stdlib/constants/float16/log2-e/test/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ tape( 'main export is a number', function test( t ) {
3232
t.end();
3333
});
3434

35-
tape( 'export is a half-precision floating-point number equal to 1.443359375', function test( t ) {
36-
t.strictEqual( FLOAT16_LOG2E, 1.443359375, 'returns expected value' );
35+
tape( 'export is a half-precision floating-point number equal to 1.4423828125', function test( t ) {
36+
t.strictEqual( FLOAT16_LOG2E, 1.4423828125, 'returns expected value' );
3737
t.end();
3838
});

0 commit comments

Comments
 (0)