Argument
|
Result
|
z = 0
|
0
|
Re(z) > 0 or (Re(z) = 0 and Im(z) > 0)
|
1
|
Otherwise
|
−1
|
Argument
|
Result
|
z = 0
|
x
|
1 if x is omitted.
|
|
z ≠ 0
|
z/|z|
|
Argument
|
Result
|
x = 0
|
0
|
x > 0
|
1
|
Otherwise
|
−1
|