RosettaCodeData/Task/Conditional-structures/Pop11/conditional-structures-8.pop11

2 lines
62 B
Plaintext

if x > 0 then 1 elseif x < 0 then -1 else 0 endif -> sign_x ;