Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte authored Jul 14, 2023
1 parent 88fa5fd commit 8d01fb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/math/base/special/cphase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ limitations under the License.
-->

# phase
# cphase

> Compute the [argument][complex-number-argument] of a double-precision complex floating-point number in radians.
Expand Down Expand Up @@ -169,7 +169,7 @@ int main( void ) {
y = stdlib_base_cphase( v );
stdlib_reim( v, &re1, &im1 );
stdlib_reim( y, &re2, &im2 );
printf( "fcphase(%lf + %lfi) = %lf\n", re, im, y );
printf( "cphase(%lf + %lfi) = %lf\n", re, im, y );
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import cphase = require( './index' );

// TESTS //

// The function returns a double-precision complex floating-point number...
// The function returns a number...
{
cphase( new Complex128( 5.0, 3.0 ) ); // $ExpectType number
}
Expand Down

0 comments on commit 8d01fb9

Please sign in to comment.