cd /tmp && npm install pypyjs --prefix /tmp/pypy --cache /tmp/npm-cache --silent && node -e "const pypyjs=require('/tmp/pypy/node_modules/pypyjs'); pypyjs.stdout=function(d){process.stdout.write(d)}; pypyjs.stderr=function(d){process.stdout.write(d)}; (async()=>{await pypyjs.ready(); await pypyjs.exec(`print \"A\", 1/2, 1//2, 1/2 == 1//2 print \"B\", 1/2*2, 1/2+1/2 print \"C\", 10/float(4), float(10)/4, 10/float(4)==float(10)/4 print \"D\", -7//3, int(-7/3) print \"F\", 5.0//2, type(5.0//2) print \"G\", (7//3)*3+7%3 print \"H\", -3.0//2.0, -(3.0//2.0) print \"I\", 7/3, 7*(1.0/3), 7/3==7*(1.0/3) print \"K\", -7//3, -7.0//3.0 print \"L\", (1/1)-1, type((1/1)-1), type(1) print \"M1\", type((1/3)/3), type(1/(3*3)), (1/3)/3 == 1/(3*3) print \"M2\", type((1/(2**62))/4), type(1/(2**62*4)), (1/(2**62))/4 == 1/(2**62*4) print \"N\", sum([1/3]*3), 1/3*3 print \"O\", (1/3)+(1/3)+(1/3), (1/3)+(1/3)+(1/3)==1.0 print \"VER\", __import__('sys').version`); console.log('DONE');})().catch(e=>{console.error('ERR',e);process.exit(1)}); rm -rf /tmp/pypy /tmp/npm-cache"