py2llvm: support operations between fractions and floats