render: Use "long long" instead of "double" for arithmetic.