Skip to content

docs: use correct types in number/uint32/base/add #7850

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ static uint32_t add( const uint32_t x, const uint32_t y ) {
static double benchmark( void ) {
uint32_t x[ 100 ];
double elapsed;
double y;
uint32_t y;
double t;
int i;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ static double rand_double( void ) {
static double benchmark( void ) {
uint32_t x[ 100 ];
double elapsed;
double y;
uint32_t y;
double t;
int i;

Expand Down
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/number/uint32/base/add/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
* - `+`: summation is exact as IEEE-754 integer addition of two unsigned 32-bit integers fits inside 53-bit range.
* - `>>> 0`: keep the low 32 bits.
*
* @param {integer} x - first input value
* @param {integer} y - second input value
* @returns {integer} sum
* @param {uinteger} x - first input value
* @param {uinteger} y - second input value
* @returns {uinteger} sum
*
* @example
* var v = add( 1>>>0, 5>>>0 );
Expand Down
6 changes: 3 additions & 3 deletions lib/node_modules/@stdlib/number/uint32/base/add/lib/native.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ var addon = require( './../src/addon.node' );
* Computes the sum of two unsigned 32-bit integers `x` and `y`.
*
* @private
* @param {integer} x - first input value
* @param {integer} y - second input value
* @returns {integer} sum
* @param {uinteger} x - first input value
* @param {uinteger} y - second input value
* @returns {uinteger} sum
*
* @example
* var v = add( 1>>>0, 5>>>0 );
Expand Down