Skip to content

Commit 60522bf

Browse files
authored
docs: fix operator
PR-URL: #3039 Reviewed-by: Athan Reines <[email protected]> Reviewed-by: Philipp Burckhardt <[email protected]> Signed-off-by: Gunj Joshi <[email protected]>
1 parent 78a7b34 commit 60522bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/math/base/special/fmod/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ var i;
9494
for ( i = 0; i < 100; i++ ) {
9595
x = round( randu() * 10.0 );
9696
y = round( randu() * 10.0 ) - 5.0;
97-
console.log( '%d^%d = %d', x, y, fmod( x, y ) );
97+
console.log( '%d%%%d = %d', x, y, fmod( x, y ) );
9898
}
9999
```
100100

lib/node_modules/@stdlib/math/base/special/fmod/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ var i;
2929
for ( i = 0; i < 100; i++ ) {
3030
x = round( randu() * 10.0 );
3131
y = round( randu() * 10.0 ) - 5.0;
32-
console.log( '%d^%d = %d', x, y, fmod( x, y ) );
32+
console.log( '%d%%%d = %d', x, y, fmod( x, y ) );
3333
}

lib/node_modules/@stdlib/math/base/special/fmod/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
*
4747
* @param x dividend
4848
* @param y divisor
49-
* @return remainder
49+
* @return remainder
5050
*
5151
* @example
5252
* double out = stdlib_base_fmod( 8.9, 3.0 );

0 commit comments

Comments
 (0)