格式化4.3章中代码格式 (#736)

This commit is contained in:
polunzh
2019-11-16 22:29:07 -06:00
committed by Unknwon
parent c588ddea2d
commit 40a6c2b986

View File

@@ -32,9 +32,9 @@ f(n + 5) // 无类型的数字型常量 “5” 它的类型在这里变成了 i
数字型的常量是没有大小和符号的,并且可以使用任何精度而不会导致溢出: 数字型的常量是没有大小和符号的,并且可以使用任何精度而不会导致溢出:
```go ```go
const Ln2= 0.693147180559945309417232121458\ const Ln2 = 0.693147180559945309417232121458\
176568075500134360255254120680009 176568075500134360255254120680009
const Log2E= 1/Ln2 // this is a precise reciprocal const Log2E = 1/Ln2 // this is a precise reciprocal
const Billion = 1e9 // float constant const Billion = 1e9 // float constant
const hardEight = (1 << 100) >> 97 const hardEight = (1 << 100) >> 97
``` ```