1 # Some quick-n-dirty ways to create floats. 2 3 fn fill-in-rational _out: (addr float), nr: int, dr: int { 4 var out/edi: (addr float) <- copy _out 5 var result/xmm0: float <- convert nr 6 var divisor/xmm1: float <- convert dr 7 result <- divide divisor 8 copy-to *out, result 9 } 10 11 fn fill-in-sqrt _o