Comparing two numbers by seichung

s=t(matrix(scan("stdin"),2));v=s[,2];u=s[,1];write(rbind(u,c(">","=","<")[sign(v-u)+2],v),"",3)

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page