...
Source file
src/strconv/internal_test.go
Documentation: strconv
1
2
3
4
5
6
7 package strconv
8
9 func NewDecimal(i uint64) *decimal {
10 d := new(decimal)
11 d.Assign(i)
12 return d
13 }
14
15 func SetOptimize(b bool) bool {
16 old := optimize
17 optimize = b
18 return old
19 }
20
21 func ParseFloatPrefix(s string, bitSize int) (float64, int, error) {
22 return parseFloatPrefix(s, bitSize)
23 }
24
25 func MulByLog2Log10(x int) int {
26 return mulByLog2Log10(x)
27 }
28
29 func MulByLog10Log2(x int) int {
30 return mulByLog10Log2(x)
31 }
32
View as plain text