Skip to content

Commit 915f4be

Browse files
committed
updated files according to naming convention
1 parent 6bf1c9f commit 915f4be

File tree

9 files changed

+36
-36
lines changed

9 files changed

+36
-36
lines changed

lib/node_modules/@stdlib/constants/float32/num-significand-bits/README.md

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

21-
# FLOAT32_SIGNIFICAND_BITS
21+
# FLOAT32_NUM_SIGNIFICAND_BITS
2222

23-
> Number of significand bits of a [single-precision floating-point number][ieee754].
23+
> Number of significand bits for a [single-precision floating-point number][ieee754].
2424
2525
<section class="usage">
2626

@@ -29,17 +29,17 @@ limitations under the License.
2929
<!-- eslint-disable id-length -->
3030

3131
```javascript
32-
var FLOAT32_SIGNIFICAND_BITS = require( '@stdlib/constants/float32/significand-bits' );
32+
var FLOAT32_NUM_SIGNIFICAND_BITS = require( '@stdlib/constants/float32/num-significand-bits' );
3333
```
3434

35-
#### FLOAT32_SIGNIFICAND_BITS
35+
#### FLOAT32_NUM_SIGNIFICAND_BITS
3636

37-
Number of significand bits of a [single-precision floating-point number][ieee754].
37+
Number of significand bits for a [single-precision floating-point number][ieee754].
3838

3939
<!-- eslint-disable id-length -->
4040

4141
```javascript
42-
var bool = ( FLOAT32_SIGNIFICAND_BITS === 23 );
42+
var bool = ( FLOAT32_NUM_SIGNIFICAND_BITS === 23 );
4343
// returns true
4444
```
4545

@@ -56,9 +56,9 @@ var bool = ( FLOAT32_SIGNIFICAND_BITS === 23 );
5656
<!-- eslint no-undef: "error" -->
5757

5858
```javascript
59-
var FLOAT32_SIGNIFICAND_BITS = require( '@stdlib/constants/float32/significand-bits' );
59+
var FLOAT32_NUM_SIGNIFICAND_BITS = require( '@stdlib/constants/float32/num-significand-bits' );
6060

61-
console.log( FLOAT32_SIGNIFICAND_BITS );
61+
console.log( FLOAT32_NUM_SIGNIFICAND_BITS );
6262
// => 23
6363
```
6464

@@ -89,12 +89,12 @@ console.log( FLOAT32_SIGNIFICAND_BITS );
8989
### Usage
9090

9191
```c
92-
#include "stdlib/constants/float32/significand_bits.h"
92+
#include "stdlib/constants/float32/num_significand_bits.h"
9393
```
9494

95-
#### STDLIB_CONSTANT_FLOAT32_SIGNIFICAND_BITS
95+
#### STDLIB_CONSTANT_FLOAT32_NUM_SIGNIFICAND_BITS
9696

97-
Number of significand bits of a [single-precision floating-point number][ieee754].
97+
Number of significand bits for a [single-precision floating-point number][ieee754].
9898

9999
</section>
100100

lib/node_modules/@stdlib/constants/float32/num-significand-bits/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
{{alias}}
3-
Number of significand bits of a single-precision floating-
3+
Number of significand bits for a single-precision floating-
44
point number.
55

66
Examples

lib/node_modules/@stdlib/constants/float32/num-significand-bits/docs/types/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
// TypeScript Version: 4.1
2020

2121
/**
22-
* Number of significand bits of a single-precision floating-point number.
22+
* Number of significand bits for a single-precision floating-point number.
2323
*
2424
* @example
25-
* var bits = FLOAT32_SIGNIFICAND_BITS;
25+
* var bits = FLOAT32_NUM_SIGNIFICAND_BITS;
2626
* // returns 23
2727
*/
28-
declare const FLOAT32_SIGNIFICAND_BITS: number;
28+
declare const FLOAT32_NUM_SIGNIFICAND_BITS: number;
2929

3030

3131
// EXPORTS //
3232

33-
export = FLOAT32_SIGNIFICAND_BITS;
33+
export = FLOAT32_NUM_SIGNIFICAND_BITS;

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

lib/node_modules/@stdlib/constants/float32/num-significand-bits/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_SIGNIFICAND_BITS = require( './../lib' );
21+
var FLOAT32_NUM_SIGNIFICAND_BITS = require( './../lib' );
2222

23-
console.log( FLOAT32_SIGNIFICAND_BITS );
23+
console.log( FLOAT32_NUM_SIGNIFICAND_BITS );
2424
// => 23

lib/node_modules/@stdlib/constants/float32/num-significand-bits/include/stdlib/constants/float32/significand_bits.h renamed to lib/node_modules/@stdlib/constants/float32/num-significand-bits/include/stdlib/constants/float32/num_significand_bits.h

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

19-
#ifndef STDLIB_CONSTANTS_FLOAT32_SIGNIFICAND_BITS_H
20-
#define STDLIB_CONSTANTS_FLOAT32_SIGNIFICAND_BITS_H
19+
#ifndef STDLIB_CONSTANTS_FLOAT32_NUM_SIGNIFICAND_BITS_H
20+
#define STDLIB_CONSTANTS_FLOAT32_NUM_SIGNIFICAND_BITS_H
2121

2222
/**
23-
* Number of significand bits of a single-precision floating-point number.
23+
* Number of significand bits for a single-precision floating-point number.
2424
*/
25-
#define STDLIB_CONSTANT_FLOAT32_SIGNIFICAND_BITS 23
25+
#define STDLIB_CONSTANT_FLOAT32_NUM_SIGNIFICAND_BITS 23
2626

27-
#endif // !STDLIB_CONSTANTS_FLOAT32_SIGNIFICAND_BITS_H
27+
#endif // !STDLIB_CONSTANTS_FLOAT32_NUM_SIGNIFICAND_BITS_H

lib/node_modules/@stdlib/constants/float32/num-significand-bits/lib/index.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,29 @@
1919
'use strict';
2020

2121
/**
22-
* Number of significand bits of a single-precision floating-point number.
22+
* Number of significand bits for a single-precision floating-point number.
2323
*
24-
* @module @stdlib/constants/float32/significand-bits
24+
* @module @stdlib/constants/float32/num-significand-bits
2525
* @type {integer32}
2626
*
2727
* @example
28-
* var FLOAT32_SIGNIFICAND_BITS = require( '@stdlib/constants/float32/significand-bits' );
28+
* var FLOAT32_NUM_SIGNIFICAND_BITS = require( '@stdlib/constants/float32/num-significand-bits' );
2929
* // returns 23
3030
*/
3131

3232

3333
// MAIN //
3434

3535
/**
36-
* Number of significand bits of a single-precision floating-point number.
36+
* Number of significand bits for a single-precision floating-point number.
3737
*
3838
* @constant
3939
* @type {integer32}
4040
* @default 23
4141
*/
42-
var FLOAT32_SIGNIFICAND_BITS = 23|0;
42+
var FLOAT32_NUM_SIGNIFICAND_BITS = 23|0;
4343

4444

4545
// EXPORTS //
4646

47-
module.exports = FLOAT32_SIGNIFICAND_BITS;
47+
module.exports = FLOAT32_NUM_SIGNIFICAND_BITS;

lib/node_modules/@stdlib/constants/float32/num-significand-bits/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "@stdlib/constants/float32/significand-bits",
2+
"name": "@stdlib/constants/float32/num-significand-bits",
33
"version": "0.0.0",
4-
"description": "Number of significand bits of a single-precision floating-point number.",
4+
"description": "Number of significand bits for a single-precision floating-point number.",
55
"license": "Apache-2.0",
66
"author": {
77
"name": "The Stdlib Authors",

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

3535
tape( 'the exported value is 23', function test( t ) {
36-
t.equal( FLOAT32_SIGNIFICAND_BITS, 23, 'returns expected value' );
36+
t.equal( FLOAT32_NUM_SIGNIFICAND_BITS, 23, 'returns expected value' );
3737
t.end();
3838
});

0 commit comments

Comments
 (0)