Skip to content

Commit f4bf6e6

Browse files
chore: use consistent naming in constants/float64/eulergamma
PR-URL: #6228 Closes: #6222 Reviewed-by: Athan Reines <[email protected]>
1 parent 30f9a5f commit f4bf6e6

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

lib/node_modules/@stdlib/constants/float64/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 = GAMMA;
25+
* var val = EULERGAMMA;
2626
* // returns 0.5772156649015329
2727
*/
28-
declare const GAMMA: number;
28+
declare const EULERGAMMA: number;
2929

3030

3131
// EXPORTS //
3232

33-
export = GAMMA;
33+
export = EULERGAMMA;

lib/node_modules/@stdlib/constants/float64/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 GAMMA = require( './index' );
19+
import 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-
GAMMA; // $ExpectType number
27+
EULERGAMMA; // $ExpectType number
2828
}

lib/node_modules/@stdlib/constants/float64/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 GAMMA = require( './../lib' );
21+
var EULERGAMMA = require( './../lib' );
2222

23-
console.log( GAMMA );
23+
console.log( EULERGAMMA );
2424
// => 0.5772156649015329

lib/node_modules/@stdlib/constants/float64/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 GAMMA = require( '@stdlib/constants/float64/eulergamma' );
28+
* var EULERGAMMA = require( '@stdlib/constants/float64/eulergamma' );
2929
* // returns 0.5772156649015329
3030
*/
3131

@@ -41,9 +41,9 @@
4141
* @see [OEIS]{@link http://oeis.org/A001620}
4242
* @see [Mathworld]{@link http://mathworld.wolfram.com/Euler-MascheroniConstant.html}
4343
*/
44-
var GAMMA = 0.577215664901532860606512090082402431042;
44+
var EULERGAMMA = 0.577215664901532860606512090082402431042;
4545

4646

4747
// EXPORTS //
4848

49-
module.exports = GAMMA;
49+
module.exports = EULERGAMMA;

lib/node_modules/@stdlib/constants/float64/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 GAMMA = require( './../lib' );
24+
var 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 GAMMA, 'number', 'main export is a number' );
31+
t.strictEqual( typeof EULERGAMMA, 'number', 'main export is a number' );
3232
t.end();
3333
});
3434

3535
tape( 'the exported value is a double-precision floating-point number equal to 0.5772156649015329', function test( t ) {
36-
t.equal( GAMMA, 0.5772156649015329, 'returns 0.5772156649015329' );
36+
t.equal( EULERGAMMA, 0.5772156649015329, 'returns 0.5772156649015329' );
3737
t.end();
3838
});

0 commit comments

Comments
 (0)