Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
747e2616
Commit
747e2616
authored
May 05, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmt: dead code and data
R=r DELTA=10 (0 added, 10 deleted, 0 changed) OCL=28258 CL=28287
parent
21c9f82f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
format.go
src/lib/fmt/format.go
+0
-10
No files found.
src/lib/fmt/format.go
View file @
747e2616
...
...
@@ -14,16 +14,6 @@ const nPows10 = 160;
var
ldigits
string
=
"0123456789abcdef"
// var not const because we take its address
var
udigits
string
=
"0123456789ABCDEF"
var
pows10
[
nPows10
]
float64
;
func
init
()
{
pows10
[
0
]
=
1.0e0
;
pows10
[
1
]
=
1.0e1
;
for
i
:=
2
;
i
<
nPows10
;
i
++
{
m
:=
i
/
2
;
pows10
[
i
]
=
pows10
[
m
]
*
pows10
[
i
-
m
];
}
}
/*
Fmt is the raw formatter used by Printf etc. Not meant for normal use.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment