From 2bc401fca2ad4cfc9cd02b4efd182c3bc848a346 Mon Sep 17 00:00:00 2001 From: DivyanshuVorrtex Date: Thu, 11 Dec 2025 17:47:33 +0000 Subject: [PATCH 1/4] feat: adding the value of ln-two-pi for float16 --- 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: passed - 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 --- --- .../constants/float16/ln-two-pi/README.md | 91 +++++++++++++++++++ .../constants/float16/ln-two-pi/docs/repl.txt | 12 +++ .../float16/ln-two-pi/docs/types/index.d.ts | 33 +++++++ .../float16/ln-two-pi/docs/types/test.ts | 28 ++++++ .../float16/ln-two-pi/examples/index.js | 24 +++++ .../constants/float16/ln-two-pi/lib/index.js | 55 +++++++++++ .../constants/float16/ln-two-pi/package.json | 71 +++++++++++++++ .../constants/float16/ln-two-pi/test/test.js | 56 ++++++++++++ 8 files changed, 370 insertions(+) create mode 100644 lib/node_modules/@stdlib/constants/float16/ln-two-pi/README.md create mode 100644 lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/repl.txt create mode 100644 lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/index.d.ts create mode 100644 lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/test.ts create mode 100644 lib/node_modules/@stdlib/constants/float16/ln-two-pi/examples/index.js create mode 100644 lib/node_modules/@stdlib/constants/float16/ln-two-pi/lib/index.js create mode 100644 lib/node_modules/@stdlib/constants/float16/ln-two-pi/package.json create mode 100644 lib/node_modules/@stdlib/constants/float16/ln-two-pi/test/test.js diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/README.md b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/README.md new file mode 100644 index 000000000000..9eba1de4ff00 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/README.md @@ -0,0 +1,91 @@ + + +# FLOAT16_LN_TWO_PI + +> [Natural logarithm][@stdlib/math/base/special/lnf] of `2π`. + +
+ +## Usage + +```javascript +var FLOAT16_LN_TWO_PI = require( '@stdlib/constants/float16/ln-two-pi' ); +``` + +#### FLOAT16_LN_TWO_PI + +[Natural logarithm][@stdlib/math/base/special/lnf] of `2π`. + +```javascript +var bool = ( FLOAT16_LN_TWO_PI === 1.837890625 ); +// returns true +``` + +
+ + + +
+ +## Examples + + + + + +```javascript +var FLOAT16_LN_TWO_PI = require( '@stdlib/constants/float16/ln-two-pi' ); + +console.log( FLOAT16_LN_TWO_PI ); +// => 1.837890625 +``` + +
+ + + +
+ +
+ + + + + + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/repl.txt b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/repl.txt new file mode 100644 index 000000000000..acf459d8cfa9 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/repl.txt @@ -0,0 +1,12 @@ + +{{alias}} + Natural logarithm of `2π`. + + Examples + -------- + > {{alias}} + 1.837890625 + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/index.d.ts b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/index.d.ts new file mode 100644 index 000000000000..9487dc82904c --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/index.d.ts @@ -0,0 +1,33 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +// TypeScript Version: 4.1 + +/** +* Natural logarithm of `2π`. +* +* @example +* var val = FLOAT16_LN_TWO_PI; +* // returns 1.837890625 +*/ +declare const FLOAT16_LN_TWO_PI: number; + + +// EXPORTS // + +export = FLOAT16_LN_TWO_PI; diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/test.ts b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/test.ts new file mode 100644 index 000000000000..28559c39bc12 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/test.ts @@ -0,0 +1,28 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +import FLOAT16_LN_TWO_PI = require( './index' ); + + +// TESTS // + +// The export is a number... +{ + // eslint-disable-next-line @typescript-eslint/no-unused-expressions + FLOAT16_LN_TWO_PI; // $ExpectType number +} diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/examples/index.js b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/examples/index.js new file mode 100644 index 000000000000..268e1d89dfe9 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/examples/index.js @@ -0,0 +1,24 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +var FLOAT16_LN_TWO_PI = require( './../lib' ); + +console.log( FLOAT16_LN_TWO_PI ); +// => 1.837890625 diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/lib/index.js b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/lib/index.js new file mode 100644 index 000000000000..a4f56fef7b52 --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/lib/index.js @@ -0,0 +1,55 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +/** +* Natural logarithm of `2π`. +* +* @module @stdlib/constants/float16/ln-two-pi +* @type {number} +* +* @example +* var FLOAT16_LN_TWO_PI = require( '@stdlib/constants/float16/ln-two-pi' ); +* // returns 1.837890625 +*/ + +// MODULES // + +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float16' ); + + +// MAIN // + +/** +* Natural logarithm of `2π`. +* +* ```tex +* \ln 2\pi +* ``` +* +* @constant +* @type {number} +* @default 1.837890625 +*/ +var FLOAT16_LN_TWO_PI = float64ToFloat32( 1.8378770664093456 ); + + +// EXPORTS // + +module.exports = FLOAT16_LN_TWO_PI; diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/package.json b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/package.json new file mode 100644 index 000000000000..148ad9de342b --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/package.json @@ -0,0 +1,71 @@ +{ + "name": "@stdlib/constants/float16/ln-two-pi", + "version": "0.0.0", + "description": "Natural logarithm of 2π.", + "license": "Apache-2.0", + "author": { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + }, + "contributors": [ + { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + } + ], + "main": "./lib", + "directories": { + "doc": "./docs", + "example": "./examples", + "lib": "./lib", + "test": "./test" + }, + "types": "./docs/types", + "scripts": {}, + "homepage": "https://github.com/stdlib-js/stdlib", + "repository": { + "type": "git", + "url": "git://github.com/stdlib-js/stdlib.git" + }, + "bugs": { + "url": "https://github.com/stdlib-js/stdlib/issues" + }, + "dependencies": {}, + "devDependencies": {}, + "engines": { + "node": ">=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "stdmath", + "constant", + "const", + "mathematics", + "math", + "ln", + "ln2", + "math.ln2", + "natural", + "logarithm", + "log", + "ieee754", + "precision", + "floating-point", + "float", + "float16", + "pi", + "2pi" + ] +} diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/test/test.js b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/test/test.js new file mode 100644 index 000000000000..42f71c2429bc --- /dev/null +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/test/test.js @@ -0,0 +1,56 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var tape = require( 'tape' ); +var lnf = require( '@stdlib/math/base/special/lnf' ); +var absf = require( '@stdlib/math/base/special/absf' ); +var EPS = require( '@stdlib/constants/float16/eps' ); +var PI = require( '@stdlib/constants/float16/pi' ); +var FLOAT16_LN_TWO_PI = require( './../lib' ); + + +// TESTS // + +tape( 'main export is a number', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof FLOAT16_LN_TWO_PI, 'number', 'main export is a number' ); + t.end(); +}); + +tape( 'export is a half-precision floating-point number equal to `1.837890625`', function test( t ) { + t.strictEqual( FLOAT16_LN_TWO_PI, 1.837890625, 'returns expected value' ); + t.end(); +}); + +tape( 'export equals `ln(2*pi)`', function test( t ) { + var delta; + var tol; + var v; + + v = lnf( 2.0*PI ); + delta = absf( v - FLOAT16_LN_TWO_PI ); + tol = EPS * FLOAT16_LN_TWO_PI; + + t.ok( delta <= tol, 'equals ln(2*pi) within tolerance '+tol ); + + t.end(); +}); From 3379b4c23a517b701f909a4ff163a20ac826bf71 Mon Sep 17 00:00:00 2001 From: DivyanshuVorrtex Date: Fri, 12 Dec 2025 08:15:13 +0000 Subject: [PATCH 2/4] feat: readme of the ln-two-pi --- 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: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - 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: na - task: lint_license_headers status: passed --- --- lib/node_modules/@stdlib/constants/float16/ln-two-pi/README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/README.md b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/README.md index 9eba1de4ff00..4ae920f378e9 100644 --- a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/README.md +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/README.md @@ -70,8 +70,6 @@ console.log( FLOAT16_LN_TWO_PI ); - - diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/repl.txt b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/repl.txt index acf459d8cfa9..2e1063346627 100644 --- a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/repl.txt +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/repl.txt @@ -5,7 +5,7 @@ Examples -------- > {{alias}} - 1.837890625 + 1.8369140625 See Also -------- diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/index.d.ts b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/index.d.ts index 9487dc82904c..8036e6962cb7 100644 --- a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/index.d.ts @@ -23,7 +23,7 @@ * * @example * var val = FLOAT16_LN_TWO_PI; -* // returns 1.837890625 +* // returns 1.8369140625 */ declare const FLOAT16_LN_TWO_PI: number; diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/examples/index.js b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/examples/index.js index 268e1d89dfe9..e7187bb74b1b 100644 --- a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/examples/index.js +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/examples/index.js @@ -21,4 +21,4 @@ var FLOAT16_LN_TWO_PI = require( './../lib' ); console.log( FLOAT16_LN_TWO_PI ); -// => 1.837890625 +// => 1.8369140625 diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/lib/index.js b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/lib/index.js index a4f56fef7b52..43c9a7dd1cfe 100644 --- a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/lib/index.js +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/lib/index.js @@ -26,12 +26,12 @@ * * @example * var FLOAT16_LN_TWO_PI = require( '@stdlib/constants/float16/ln-two-pi' ); -* // returns 1.837890625 +* // returns 1.8369140625 */ // MODULES // -var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float16' ); +// (removed conversion import; not needed for hardcoded float16 value) // MAIN // @@ -45,9 +45,9 @@ var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float16' ); * * @constant * @type {number} -* @default 1.837890625 +* @default 1.8369140625 */ -var FLOAT16_LN_TWO_PI = float64ToFloat32( 1.8378770664093456 ); +var FLOAT16_LN_TWO_PI = 1.8369140625; // EXPORTS // diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/test/test.js b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/test/test.js index 42f71c2429bc..1a27427a07c0 100644 --- a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/test/test.js +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/test/test.js @@ -36,8 +36,8 @@ tape( 'main export is a number', function test( t ) { t.end(); }); -tape( 'export is a half-precision floating-point number equal to `1.837890625`', function test( t ) { - t.strictEqual( FLOAT16_LN_TWO_PI, 1.837890625, 'returns expected value' ); +tape( 'export is a half-precision floating-point number equal to `1.8369140625`', function test( t ) { + t.strictEqual( FLOAT16_LN_TWO_PI, 1.8369140625, 'returns expected value' ); t.end(); }); From 0122fb7168b77ddb17ce51f7a733ce8d0168f862 Mon Sep 17 00:00:00 2001 From: DivyanshuVorrtex Date: Tue, 16 Dec 2025 09:17:20 +0000 Subject: [PATCH 4/4] feat: fix the value of ln-two-pi --- 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 --- --- .../@stdlib/constants/float16/ln-two-pi/README.md | 10 ++-------- .../@stdlib/constants/float16/ln-two-pi/docs/repl.txt | 2 +- .../constants/float16/ln-two-pi/docs/types/index.d.ts | 2 +- .../constants/float16/ln-two-pi/examples/index.js | 2 +- .../@stdlib/constants/float16/ln-two-pi/lib/index.js | 6 +++--- .../@stdlib/constants/float16/ln-two-pi/test/test.js | 4 ++-- 6 files changed, 10 insertions(+), 16 deletions(-) diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/README.md b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/README.md index 588daceccfe4..7944839b0341 100644 --- a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/README.md +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/README.md @@ -35,7 +35,7 @@ var FLOAT16_LN_TWO_PI = require( '@stdlib/constants/float16/ln-two-pi' ); [Natural logarithm][@stdlib/math/base/special/lnf] of `2π`. ```javascript -var bool = ( FLOAT16_LN_TWO_PI === 1.8369140625 ); +var bool = ( FLOAT16_LN_TWO_PI === 1.837890625 ); // returns true ``` @@ -55,19 +55,13 @@ var bool = ( FLOAT16_LN_TWO_PI === 1.8369140625 ); var FLOAT16_LN_TWO_PI = require( '@stdlib/constants/float16/ln-two-pi' ); console.log( FLOAT16_LN_TWO_PI ); -// => 1.8369140625 +// => 1.837890625 ``` -
- -
- - - diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/repl.txt b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/repl.txt index 2e1063346627..acf459d8cfa9 100644 --- a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/repl.txt +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/repl.txt @@ -5,7 +5,7 @@ Examples -------- > {{alias}} - 1.8369140625 + 1.837890625 See Also -------- diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/index.d.ts b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/index.d.ts index 8036e6962cb7..9487dc82904c 100644 --- a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/docs/types/index.d.ts @@ -23,7 +23,7 @@ * * @example * var val = FLOAT16_LN_TWO_PI; -* // returns 1.8369140625 +* // returns 1.837890625 */ declare const FLOAT16_LN_TWO_PI: number; diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/examples/index.js b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/examples/index.js index e7187bb74b1b..268e1d89dfe9 100644 --- a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/examples/index.js +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/examples/index.js @@ -21,4 +21,4 @@ var FLOAT16_LN_TWO_PI = require( './../lib' ); console.log( FLOAT16_LN_TWO_PI ); -// => 1.8369140625 +// => 1.837890625 diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/lib/index.js b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/lib/index.js index 43c9a7dd1cfe..515b43d7aca0 100644 --- a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/lib/index.js +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/lib/index.js @@ -26,7 +26,7 @@ * * @example * var FLOAT16_LN_TWO_PI = require( '@stdlib/constants/float16/ln-two-pi' ); -* // returns 1.8369140625 +* // returns 1.837890625 */ // MODULES // @@ -45,9 +45,9 @@ * * @constant * @type {number} -* @default 1.8369140625 +* @default 1.837890625 */ -var FLOAT16_LN_TWO_PI = 1.8369140625; +var FLOAT16_LN_TWO_PI = 1.837890625; // EXPORTS // diff --git a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/test/test.js b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/test/test.js index 1a27427a07c0..42f71c2429bc 100644 --- a/lib/node_modules/@stdlib/constants/float16/ln-two-pi/test/test.js +++ b/lib/node_modules/@stdlib/constants/float16/ln-two-pi/test/test.js @@ -36,8 +36,8 @@ tape( 'main export is a number', function test( t ) { t.end(); }); -tape( 'export is a half-precision floating-point number equal to `1.8369140625`', function test( t ) { - t.strictEqual( FLOAT16_LN_TWO_PI, 1.8369140625, 'returns expected value' ); +tape( 'export is a half-precision floating-point number equal to `1.837890625`', function test( t ) { + t.strictEqual( FLOAT16_LN_TWO_PI, 1.837890625, 'returns expected value' ); t.end(); });