Skip to content

Commit b607c28

Browse files
committed
Auto-generated commit
1 parent 132ecc1 commit b607c28

File tree

6 files changed

+18
-5
lines changed

6 files changed

+18
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ A total of 19 issues were closed in this release:
159159

160160
<details>
161161

162+
- [`e3c8773`](https://github.com/stdlib-js/stdlib/commit/e3c8773f66efd9b5004711cfd8a15f5129b8571a) - **test:** fix description _(by Philipp Burckhardt)_
163+
- [`6ce0275`](https://github.com/stdlib-js/stdlib/commit/6ce0275d3eec598ce3ecb8da74a1c82f0de3a482) - **docs:** remove incorrect hyphens from JSDoc `returns` annotations _(by Philipp Burckhardt)_
164+
- [`c17b411`](https://github.com/stdlib-js/stdlib/commit/c17b411aa68e39800c7713bffad3e9de8aad79b7) - **docs:** split up into multiple examples _(by Philipp Burckhardt)_
162165
- [`79f62f0`](https://github.com/stdlib-js/stdlib/commit/79f62f06d15dfbadca560345f9857d7367717c25) - **feat:** add `number/float16/base/mul` [(#9373)](https://github.com/stdlib-js/stdlib/pull/9373) _(by Sagar Ratna Chaudhary, Athan Reines)_
163166
- [`846cfd2`](https://github.com/stdlib-js/stdlib/commit/846cfd25a0ab7eb7c07a1a47f3a644b1e01074d0) - **feat:** add `number/float16/base/ulp-difference` [(#9321)](https://github.com/stdlib-js/stdlib/pull/9321) _(by Neeraj Pathak, Athan Reines)_
164167
- [`9fe6fcf`](https://github.com/stdlib-js/stdlib/commit/9fe6fcf004e0c7bf51b53f240e7f9efb6c7ed954) - **feat:** add C implementation for `number/float16/base/from-word` [(#9325)](https://github.com/stdlib-js/stdlib/pull/9325) _(by Gururaj Gurram, Athan Reines, stdlib-bot)_

float16/base/significand/lib/native.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,25 @@ var addon = require( './../src/addon.node' );
3838
* var s = significand( toFloat16( 3.14 ) ); // => 1001001000
3939
* // returns 584
4040
*
41+
* @example
42+
* var toFloat16 = require( '@stdlib/number/float64/base/to-float16' );
43+
*
4144
* var s = significand( toFloat16( 3.14e-6 ) ); // => 0000110101
4245
* // returns 53
4346
*
47+
* @example
48+
* var toFloat16 = require( '@stdlib/number/float64/base/to-float16' );
49+
*
4450
* var s = significand( toFloat16( -3.14 ) ); // => 1001001000
4551
* // returns 584
4652
*
47-
* var s = significand( 0.0 ); // => 0000000000
53+
* @example
54+
* var toFloat16 = require( '@stdlib/number/float64/base/to-float16' );
55+
*
56+
* var s = significand( toFloat16( 0.0 ) ); // => 0000000000
4857
* // returns 0
4958
*
59+
* @example
5060
* var s = significand( NaN ); // => 1000000000
5161
* // returns 512
5262
*/

float16/base/ulp-difference/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ tape( 'main export is a function', function test( t ) {
3838
t.end();
3939
});
4040

41-
tape( 'the function returns the ULP difference between two single-precision floating-point numbers', function test( t ) {
41+
tape( 'the function returns the ULP difference between two half-precision floating-point numbers', function test( t ) {
4242
t.strictEqual( ulpdiff( 1.0, 1.0+EPS ), 1.0, 'returns expected value' );
4343
t.strictEqual( ulpdiff( 1.0+EPS, 1.0 ), 1.0, 'returns expected value' );
4444

float32/base/signbit/lib/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var addon = require( './../src/addon.node' );
3131
*
3232
* @private
3333
* @param {number} x - input value
34-
* @returns {boolean} - boolean indicating if sign bit is on or off
34+
* @returns {boolean} boolean indicating if sign bit is on or off
3535
*
3636
* @example
3737
* var toFloat32 = require( '@stdlib/number/float64/base/to-float32' );

float32/base/significand/lib/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var addon = require( './../src/addon.node' );
3030
*
3131
* @private
3232
* @param {number} x - input value
33-
* @returns {integer32} - significand
33+
* @returns {integer32} significand
3434
*
3535
* @example
3636
* var toFloat32 = require( '@stdlib/number/float64/base/to-float32' );

float64/base/signbit/lib/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ var addon = require( './../src/addon.node' );
3131
*
3232
* @private
3333
* @param {number} x - input value
34-
* @returns {boolean} - boolean indicating if sign bit is on or off
34+
* @returns {boolean} boolean indicating if sign bit is on or off
3535
*
3636
* @example
3737
* var bool = signbit( 4.0 );

0 commit comments

Comments
 (0)