input value
result
var Complex64 = require( `@stdlib/complex/float32` );
var real = require( `@stdlib/complex/real` );
var imag = require( `@stdlib/complex/imag` );
var v = cceilf( new Complex64( -1.5, 2.5 ) );
// returns <Complex64>
var re = real( v );
// returns -1.0
var im = imag( v );
// returns 3.0
Rounds a single-precision complex floating-point number toward positive infinity.