Skip to content

Commit 6eaa3fd

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <kgryte@gmail.com>
1 parent 3a29e54 commit 6eaa3fd

File tree

1 file changed

+4
-4
lines changed
  • lib/node_modules/@stdlib/math/base/special/pow

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ out = stdlib_base_pow( 4.0, 0.5 );
153153

154154
The function accepts the following arguments:
155155

156-
- **b**: `[in] double` input value.
157-
- **x**: `[in] double` input value.
156+
- **base**: `[in] double` base.
157+
- **exponent**: `[in] double` exponent.
158158

159159
```c
160-
double stdlib_base_pow( const double b, const double x );
160+
double stdlib_base_pow( const double base, const double exponent );
161161
```
162162
163163
</section>
@@ -184,9 +184,9 @@ double stdlib_base_pow( const double b, const double x );
184184
#include <stdio.h>
185185
186186
int main( void ) {
187+
double out;
187188
double b;
188189
double x;
189-
double out;
190190
int i;
191191
192192
for ( i = 0; i < 100; i++ ) {

0 commit comments

Comments
 (0)