input value
number from which to derive the sign
result
var Complex64 = require( `@stdlib/complex/float32` );
var real = require( `@stdlib/complex/real` );
var imag = require( `@stdlib/complex/imag` );
var v = cflipsignf( new Complex64( -4.0, 5.0 ), -55.0 );
// returns <Complex64>
var re = real( v );
// returns 4.0
var im = imag( v );
// returns -5.0
Returns a single-precision complex floating-point number with the same magnitude as
z
and the sign ofy*z
.