Skip to content

Commit ac7273d

Browse files
committed
Add return values
1 parent 7945307 commit ac7273d

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ Computes the absolute value of a double-precision floating-point number.
128128

129129
```c
130130
double y = stdlib_base_abs( -5.0 );
131+
// returns 5.0
131132
```
132133

133134
The function accepts the following arguments:

lib/node_modules/@stdlib/math/base/special/abs/src/abs.c

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
*
2727
* @example
2828
* double y = stdlib_base_abs( -5.0 );
29+
* // returns 5.0
2930
*/
3031
double stdlib_base_abs( const double x ) {
3132
if ( x < 0.0 ) {

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

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ Computes the squared absolute value of a double-precision floating-point number.
117117

118118
```c
119119
double y = stdlib_base_abs2( -5.0 );
120+
// returns 25.0
120121
```
121122

122123
The function accepts the following arguments:

lib/node_modules/@stdlib/math/base/special/abs2/src/abs2.c

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
*
2727
* @example
2828
* double y = stdlib_base_abs2( -5.0 );
29+
* // returns 25.0
2930
*/
3031
double stdlib_base_abs2( const double x ) {
3132
return x * x;

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

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ Computes the squared absolute value of a single-precision floating-point number.
117117

118118
```c
119119
float y = stdlib_base_abs2f( -5.0f );
120+
// returns 25.0f
120121
```
121122

122123
The function accepts the following arguments:

lib/node_modules/@stdlib/math/base/special/abs2f/src/abs2f.c

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
*
2727
* @example
2828
* float y = stdlib_base_abs2f( -5.0f );
29+
* // returns 25.0f
2930
*/
3031
float stdlib_base_abs2f( const float x ) {
3132
return x * x;

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

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ Computes the squared absolute value of a single-precision floating-point number.
128128

129129
```c
130130
float y = stdlib_base_absf( -5.0f );
131+
// returns 5.0f
131132
```
132133

133134
The function accepts the following arguments:

lib/node_modules/@stdlib/math/base/special/absf/src/absf.c

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
*
2727
* @example
2828
* float y = stdlib_base_absf( -5.0f );
29+
* // returns 5.0f
2930
*/
3031
float stdlib_base_absf( const float x ) {
3132
if ( x < 0.0f ) {

0 commit comments

Comments
 (0)