We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff39416 + 4ef3638 commit 28a3f2dCopy full SHA for 28a3f2d
.gitignore
@@ -42,5 +42,6 @@ go.json
42
43
.vscode
44
.idea
45
+go.work*
46
47
cmd/qfmt/qfmt
106-Types/types-2.gop
@@ -12,8 +12,8 @@ d := bigrat(a) - 1/3r + 3*1/2r
12
println a, b, c, d
13
14
r1 := 1r
15
-br := bigrat(1r) //Casting rational numbers works like other primitive types
16
-cr := bigrat(1) //Casting normal numbers also works like other primitive types
+br := bigrat(1r) // Casting rational numbers works like other primitive types
+cr := bigrat(1) // Casting normal numbers also works like other primitive types
17
println r1/3 // 0
18
println br/3 // 1/3
19
println cr/3 // 1/3
0 commit comments