func compareDoubleInt(d Double, i Int) Int { … } func compareIntDouble(i Int, d Double) Int { … } func compareDoubleUint(d Double, u Uint) Int { … } func compareUintDouble(u Uint, d Double) Int { … } func compareIntUint(i Int, u Uint) Int { … } func compareUintInt(u Uint, i Int) Int { … } func compareDouble(a, b Double) Int { … } func compareInt(a, b Int) ref.Val { … } func compareUint(a, b Uint) ref.Val { … }