Skip to content

Commit 1a87896

Browse files
chore: refactor var
1 parent d5c83c0 commit 1a87896

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
* var val = FLOAT32_GAMMA;
2626
* // returns 0.5772156715393066
2727
*/
28-
declare const FLOAT32_GAMMA: number;
28+
declare const FLOAT32_EULERGAMMA: number;
2929

3030

3131
// EXPORTS //
3232

33-
export = FLOAT32_GAMMA;
33+
export = FLOAT32_EULERGAMMA;

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

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

23-
console.log( FLOAT32_GAMMA );
23+
console.log( FLOAT32_EULERGAMMA );
2424
// => 0.5772156715393066

lib/node_modules/@stdlib/constants/float32/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 FLOAT32_GAMMA = require( '@stdlib/constants/float32/eulergamma' );
28+
* var FLOAT32_EULERGAMMA = require( '@stdlib/constants/float32/eulergamma' );
2929
* // returns 0.5772156715393066
3030
*/
3131

@@ -45,9 +45,9 @@ var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' );
4545
* @see [OEIS]{@link http://oeis.org/A001620}
4646
* @see [Mathworld]{@link http://mathworld.wolfram.com/Euler-MascheroniConstant.html}
4747
*/
48-
var FLOAT32_GAMMA = float64ToFloat32( 0.5772156649015329 );
48+
var FLOAT32_EULERGAMMA = float64ToFloat32( 0.5772156649015329 );
4949

5050

5151
// EXPORTS //
5252

53-
module.exports = FLOAT32_GAMMA;
53+
module.exports = FLOAT32_EULERGAMMA;

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

3535
tape( 'the exported value is a single-precision floating-point number equal to 0.5772156715393066', function test( t ) {
36-
t.equal( FLOAT32_GAMMA, 0.5772156715393066, 'returns 0.5772156715393066' );
36+
t.equal( FLOAT32_EULERGAMMA, 0.5772156715393066, 'returns 0.5772156715393066' );
3737
t.end();
3838
});

0 commit comments

Comments
 (0)