stdlib-js / math-base-special-cceilf
Showing 1 of 4 files from the diff.
Other files ignored by Codecov
package.json has changed.
CONTRIBUTORS has changed.

@@ -20,9 +20,10 @@
Loading
20 20
21 21
// MODULES //
22 22
23 +
var Complex64 = require( '@stdlib/complex-float32' );
23 24
var ceilf = require( '@stdlib/math-base-special-ceilf' );
24 -
var real = require( '@stdlib/complex-real' );
25 -
var imag = require( '@stdlib/complex-imag' );
25 +
var realf = require( '@stdlib/complex-realf' );
26 +
var imagf = require( '@stdlib/complex-imagf' );
26 27
27 28
28 29
// MAIN //
@@ -35,20 +36,20 @@
Loading
35 36
*
36 37
* @example
37 38
* var Complex64 = require( '@stdlib/complex-float32' );
38 -
* var real = require( '@stdlib/complex-real' );
39 -
* var imag = require( '@stdlib/complex-imag' );
39 +
* var realf = require( '@stdlib/complex-realf' );
40 +
* var imagf = require( '@stdlib/complex-imagf' );
40 41
*
41 42
* var v = cceilf( new Complex64( -1.5, 2.5 ) );
42 43
* // returns <Complex64>
43 44
*
44 -
* var re = real( v );
45 +
* var re = realf( v );
45 46
* // returns -1.0
46 47
*
47 -
* var im = imag( v );
48 +
* var im = imagf( v );
48 49
* // returns 3.0
49 50
*/
50 51
function cceilf( z ) {
51 -
	return new z.constructor( ceilf( real( z ) ), ceilf( imag( z ) ) );
52 +
	return new Complex64( ceilf( realf( z ) ), ceilf( imagf( z ) ) );
52 53
}
53 54
54 55
Files Coverage
lib 100.00%
Project Totals (2 files) 100.00%
3510216312
unittests
3484813100
unittests
3560418841
unittests

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading