Skip to content

Commit 39fc49d

Browse files
committed
chore: fix name to match conventions in float64 and float32
--- 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: 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 e43918d commit 39fc49d

File tree

6 files changed

+19
-23
lines changed

6 files changed

+19
-23
lines changed

lib/node_modules/@stdlib/constants/float16/eulergamma/README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ limitations under the License.
1818
1919
-->
2020

21-
# FLOAT16_EULER_GAMMA
21+
# FLOAT16_EULERGAMMA
2222

2323
> The [Euler–Mascheroni constant][eulergamma].
2424
@@ -43,15 +43,15 @@ The [Euler–Mascheroni constant][eulergamma] `γ` is defined as the limiting di
4343
## Usage
4444

4545
```javascript
46-
var FLOAT16_EULER_GAMMA = require( '@stdlib/constants/float16/eulergamma' );
46+
var FLOAT16_EULERGAMMA = require( '@stdlib/constants/float16/eulergamma' );
4747
```
4848

49-
#### FLOAT16_EULER_GAMMA
49+
#### FLOAT16_EULERGAMMA
5050

5151
The [Euler–Mascheroni constant][eulergamma].
5252

5353
```javascript
54-
var bool = ( FLOAT16_EULER_GAMMA === 0.5771484375 );
54+
var bool = ( FLOAT16_EULERGAMMA === 0.5771484375 );
5555
// returns true
5656
```
5757

@@ -61,10 +61,6 @@ var bool = ( FLOAT16_EULER_GAMMA === 0.5771484375 );
6161

6262
<section class="notes">
6363

64-
## Notes
65-
66-
The value is approximately `0.5772156649015328606...` in double precision. Due to the limited precision of half-precision floating-point format (float16), the constant is rounded to `0.5771484375`.
67-
6864
</section>
6965

7066
<!-- /.notes -->
@@ -76,9 +72,9 @@ The value is approximately `0.5772156649015328606...` in double precision. Due t
7672
<!-- eslint no-undef: "error" -->
7773

7874
```javascript
79-
var FLOAT16_EULER_GAMMA = require( '@stdlib/constants/float16/eulergamma' );
75+
var FLOAT16_EULERGAMMA = require( '@stdlib/constants/float16/eulergamma' );
8076

81-
console.log( FLOAT16_EULER_GAMMA );
77+
console.log( FLOAT16_EULERGAMMA );
8278
// => 0.5771484375
8379
```
8480

lib/node_modules/@stdlib/constants/float16/eulergamma/docs/types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
* The Euler–Mascheroni constant `γ`.
2323
*
2424
* @example
25-
* var val = FLOAT16_EULER_GAMMA;
25+
* var val = FLOAT16_EULERGAMMA;
2626
* // returns 0.5771484375
2727
*/
28-
declare const FLOAT16_EULER_GAMMA: number;
28+
declare const FLOAT16_EULERGAMMA: number;
2929

3030

3131
// EXPORTS //
3232

33-
export = FLOAT16_EULER_GAMMA;
33+
export = FLOAT16_EULERGAMMA;

lib/node_modules/@stdlib/constants/float16/eulergamma/docs/types/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
* limitations under the License.
1717
*/
1818

19-
import FLOAT16_EULER_GAMMA = require( './index' );
19+
import FLOAT16_EULERGAMMA = require( './index' );
2020

2121

2222
// TESTS //
2323

2424
// The export is a number...
2525
{
2626
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
27-
FLOAT16_EULER_GAMMA; // $ExpectType number
27+
FLOAT16_EULERGAMMA; // $ExpectType number
2828
}

lib/node_modules/@stdlib/constants/float16/eulergamma/examples/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
'use strict';
2020

21-
var FLOAT16_EULER_GAMMA = require( './../lib' );
21+
var FLOAT16_EULERGAMMA = require( './../lib' );
2222

23-
console.log( FLOAT16_EULER_GAMMA );
23+
console.log( FLOAT16_EULERGAMMA );
2424
// => 0.5771484375

lib/node_modules/@stdlib/constants/float16/eulergamma/lib/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* @type {number}
2626
*
2727
* @example
28-
* var FLOAT16_EULER_GAMMA = require( '@stdlib/constants/float16/eulergamma' );
28+
* var FLOAT16_EULERGAMMA = require( '@stdlib/constants/float16/eulergamma' );
2929
* // returns 0.5771484375
3030
*/
3131

@@ -41,9 +41,9 @@
4141
* @see [OEIS]{@link http://oeis.org/A001620}
4242
* @see [Wikipedia]{@link https://en.wikipedia.org/wiki/Euler-Mascheroni_constant}
4343
*/
44-
var FLOAT16_EULER_GAMMA = 0.5771484375;
44+
var FLOAT16_EULERGAMMA = 0.5771484375;
4545

4646

4747
// EXPORTS //
4848

49-
module.exports = FLOAT16_EULER_GAMMA;
49+
module.exports = FLOAT16_EULERGAMMA;

lib/node_modules/@stdlib/constants/float16/eulergamma/test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@
2121
// MODULES //
2222

2323
var tape = require( 'tape' );
24-
var FLOAT16_EULER_GAMMA = require( './../lib' );
24+
var FLOAT16_EULERGAMMA = require( './../lib' );
2525

2626

2727
// TESTS //
2828

2929
tape( 'main export is a number', function test( t ) {
3030
t.ok( true, __filename );
31-
t.strictEqual( typeof FLOAT16_EULER_GAMMA, 'number', 'main export is a number' );
31+
t.strictEqual( typeof FLOAT16_EULERGAMMA, 'number', 'main export is a number' );
3232
t.end();
3333
});
3434

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

0 commit comments

Comments
 (0)