discard """ file: "trat_float.nim" line: "9,19" errormsg: '''type mismatch: got''' """ import rationals var # this fails - no floats as num or den r = initRational(1.0'f, 1.0'f)