Skip to content

Commit fdc199d

Browse files
committed
Auto-generated commit
1 parent 8666e7b commit fdc199d

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,8 @@ A total of 46 issues were closed in this release:
504504

505505
<details>
506506

507+
- [`d6059e1`](https://github.com/stdlib-js/stdlib/commit/d6059e165da4f439309257fe617c00bde8a7feff) - **docs:** fix function signature _(by Karan Anand)_
508+
- [`a2565fe`](https://github.com/stdlib-js/stdlib/commit/a2565fec6fc4f97c59a73f86819230c19449980d) - **refactor:** use tuple for return type _(by Karan Anand)_
507509
- [`776f485`](https://github.com/stdlib-js/stdlib/commit/776f485c279d4386ad120362393dd0dfdbeca71d) - **docs:** correct parameter descriptions _(by Karan Anand)_
508510
- [`678f471`](https://github.com/stdlib-js/stdlib/commit/678f471830cd4f3cfb1ba07b095a9c6da43a2e59) - **refactor:** remove redundant cast when generating integral part _(by Karan Anand)_
509511
- [`56cd0bf`](https://github.com/stdlib-js/stdlib/commit/56cd0bfb6e3d98349a2062e3ac26668f58ba09bb) - **refactor:** use tuple for return type _(by Karan Anand)_

base/special/cpolar/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ The function accepts the following arguments:
148148
- **cphase**: `[out] double*` destination for the phase value in radians.
149149
150150
```c
151-
double stdlib_base_cpolar( const stdlib_complex128_t z, double *cabs, double *cphase );
151+
void stdlib_base_cpolar( const stdlib_complex128_t z, double *cabs, double *cphase );
152152
```
153153

154154
</section>

base/special/cpolar/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ interface Cpolar {
3939
* var v = cpolar( new Complex128( 5.0, 3.0 ) );
4040
* // returns [ ~5.83, ~0.5404 ]
4141
*/
42-
( z: Complex128 ): Array<number>;
42+
( z: Complex128 ): [ number, number ];
4343

4444
/**
4545
* Computes the absolute value and the phase of a double-precision complex floating-point number and assigns results to a provided output array.

base/special/cpolar/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import cpolar = require( './index' );
2424

2525
// The function returns an array of numbers...
2626
{
27-
cpolar( new Complex128( 5.0, 3.0 ) ); // $ExpectType number[]
27+
cpolar( new Complex128( 5.0, 3.0 ) ); // $ExpectType [number, number]
2828
}
2929

3030
// The compiler throws an error if the function is provided a complex number...

0 commit comments

Comments
 (0)