repl.txt (659B)
1 2 {{alias}}( [out,] re, im ) 3 Rounds a complex number toward negative infinity. 4 5 Parameters 6 ---------- 7 out: Array|TypedArray|Object (optional) 8 Output array. 9 10 re: number 11 Real component. 12 13 im: number 14 Imaginary component. 15 16 Returns 17 ------- 18 out: Array|TypedArray|Object 19 Rounded components. 20 21 Examples 22 -------- 23 > var out = {{alias}}( 5.5, 3.3 ) 24 [ 5.0, 3.0 ] 25 26 // Provide an output array: 27 > out = new {{alias:@stdlib/array/float64}}( 2 ); 28 > var v = {{alias}}( out, 5.5, 3.3 ) 29 <Float64Array>[ 5.0, 3.0 ] 30 > var bool = ( v === out ) 31 true 32 33 See Also 34 -------- 35