You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upstream Go's math package has always used these simple divisions,
and now that pkg/gen.go can resolve complex expressions via go/types,
we can use exactly the same expression in our package.
This change is a no-op, which is guaranteed by Example_constants.
The new code is a lot less verbose and easier to understand, too.
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: I93dbeb26d3b496c724d53c95afad01f8583e56e0
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/557323
TryBot-Result: CUEcueckoo <[email protected]>
Reviewed-by: Roger Peppe <[email protected]>
0 commit comments