Skip to content

Commit 12750a0

Browse files
docs: improve doctest for complex no instances
1 parent 55f548d commit 12750a0

2 files changed

Lines changed: 2 additions & 14 deletions

File tree

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,9 @@ Rounds each component of a single-precision complex floating-point number toward
3636

3737
```javascript
3838
var Complex64 = require( '@stdlib/complex/float32/ctor' );
39-
var real = require( '@stdlib/complex/float32/real' );
40-
var imag = require( '@stdlib/complex/float32/imag' );
4139

4240
var v = cceilf( new Complex64( -1.5, 2.5 ) );
43-
// returns <Complex64>
44-
45-
var re = real( v );
46-
// returns -1.0
47-
48-
var im = imag( v );
49-
// returns 3.0
41+
// returns <Complex64>[ -1.0, 3.0 ]
5042
```
5143

5244
</section>

lib/node_modules/@stdlib/math/base/special/cceilf/docs/repl.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@
1616
Examples
1717
--------
1818
> var v = {{alias}}( new {{alias:@stdlib/complex/float32/ctor}}( -1.5, 2.5 ) )
19-
<Complex64>
20-
> var re = {{alias:@stdlib/complex/float32/real}}( v )
21-
-1.0
22-
> var im = {{alias:@stdlib/complex/float32/imag}}( v )
23-
3.0
19+
<Complex64>[ -1.0, 3.0 ]
2420

2521
See Also
2622
--------

0 commit comments

Comments
 (0)