Flexible, invariant fraction operations for Go