Even or odd: Difference between revisions

add TI-57
(→‎{{header|Jakt}}: Fix precedence)
(add TI-57)
Line 4,163:
49:1,0
</pre>
 
This routine returns the remainder of the division by 2 of the number in the display register. It is therefore a kind of is_odd(x) function.
Lbl 9
/
2
-
CE
Int
=
×
2
=
INV SBR
 
=={{header|TUSCRIPT}}==
1,150

edits