lzc_negate
The complex number with both signs changed.
long lzc_negate( CLZComplex* leftOperand, CLZComplex* targetNumber = nullptr );
Both parts with their signs changed, exactly.
Examples
| Call | Answer |
|---|---|
lzc_negate( 1 − 2i ) | −1 + 2i |
Each answer is what Addaptic printed for the call, at 36 places unless a setting is shown.
Returns
kNoError (0) when the answer is written. Otherwise an error code, with the answer flagged infinite or not-a-number; see Errors and flags.
See also
lzc_conjugateThe complex conjugate: the same real part, the imaginary part negated.lz_negateThe number with its sign changed.