Skip to content

Commit

Permalink
feat: update namespace TypeScript declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
kgryte authored and stdlib-bot committed Sep 23, 2023
1 parent 141b0fd commit d2b39cc
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions lib/node_modules/@stdlib/math/base/special/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1584,16 +1584,25 @@ interface Namespace {
cceilf: typeof cceilf;

/**
* Rounds a complex number to the nearest multiple of `10^n` toward positive infinity.
* Rounds each component of a double-precision complex number to the nearest multiple of `10^n` toward positive infinity.
*
* @param re - real component
* @param im - imaginary component
* @param z - input value
* @param n - integer power of 10
* @returns real and imaginary components
* @returns result
*
* @example
* var out = ns.cceiln( 5.555, -3.333, -2 );
* // returns [ 5.56, -3.33 ]
* var Complex128 = require( `@stdlib/complex/float64` );
* var real = require( `@stdlib/complex/real` );
* var imag = require( `@stdlib/complex/imag` );
*
* var v = ns.cceiln( new Complex128( 5.555, -3.333 ), -2 );
* // returns <Complex128>
*
* var re = real( v );
* // returns 5.56
*
* var im = imag( v );
* // returns -3.33
*/
cceiln: typeof cceiln;

Expand Down

0 comments on commit d2b39cc

Please sign in to comment.