summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorqlikwer <qlikwer@gmail.com>2024-02-12 16:58:50 +0500
committerGitHub <noreply@github.com>2024-02-12 12:58:50 +0100
commit1c33cd1a9a09b310937f753920ccd149550a71c2 (patch)
tree137aef5f9acdce99e1501bfbf6654f46ecfaae02
parentb8d2f410a838c49836e2572c8a3c682709153671 (diff)
Update go.html.markdown (#4838)
corrected an error in the number pi
-rw-r--r--go.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/go.html.markdown b/go.html.markdown
index 2eb40939..d6468f58 100644
--- a/go.html.markdown
+++ b/go.html.markdown
@@ -95,7 +95,7 @@ can include line breaks.` // Same string type.
// Non-ASCII literal. Go source is UTF-8.
g := 'Σ' // rune type, an alias for int32, holds a unicode code point.
- f := 3.14195 // float64, an IEEE-754 64-bit floating point number.
+ f := 3.14159 // float64, an IEEE-754 64-bit floating point number.
c := 3 + 4i // complex128, represented internally with two float64's.
// var syntax with initializers.