Russ Cox
|
d47d888ba6
|
convert *[] to [].
R=r
OCL=21563
CL=21571
|
2008-12-18 22:37:22 -08:00 |
|
Russ Cox
|
0d1cbaf225
|
strings.utflen -> utf8.RuneCount, RuneCountInString
R=r
DELTA=94 (52 added, 33 deleted, 9 changed)
OCL=20547
CL=20552
|
2008-12-04 21:00:34 -08:00 |
|
Russ Cox
|
079c00a475
|
correctly rounded floating-point conversions
in new package strconv.
move atoi etc to strconv too.
update fmt, etc to use strconv.
R=r
DELTA=2232 (1691 added, 424 deleted, 117 changed)
OCL=19286
CL=19380
|
2008-11-17 12:34:03 -08:00 |
|
Rob Pike
|
175dd773e6
|
simpleminded ascii to floating point conversion
R=rsc
DELTA=111 (107 added, 0 deleted, 4 changed)
OCL=18720
CL=18725
|
2008-11-06 16:32:28 -08:00 |
|
Rob Pike
|
6524b82fed
|
ascii to unsigned integer
R=rsc
DELTA=60 (35 added, 17 deleted, 8 changed)
OCL=18339
CL=18343
|
2008-11-03 11:40:33 -08:00 |
|
Russ Cox
|
9d20756dde
|
fix strings bug from CL 18024
R=r
OCL=18026
CL=18026
|
2008-10-29 13:17:04 -07:00 |
|
Russ Cox
|
bc67ea4f8f
|
adapt to new compiler types
R=r
OCL=18024
CL=18024
|
2008-10-29 13:09:39 -07:00 |
|
Ken Thompson
|
c21d9a1ec9
|
the end of life as we know it
int is new type
R=r
OCL=18023
CL=18023
|
2008-10-29 12:46:44 -07:00 |
|
Rob Pike
|
03a9872fe3
|
add primitive ftoa, dtoa to strings library.
R=rsc
DELTA=72 (69 added, 0 deleted, 3 changed)
OCL=17478
CL=17480
|
2008-10-20 13:53:20 -07:00 |
|
Rob Pike
|
35eebcacc8
|
fix typo causing infinite recursion
R=rsc
OCL=17398
CL=17398
|
2008-10-17 17:59:27 -07:00 |
|
Rob Pike
|
d378321b6e
|
add atol and ltoa. probably want unsigned at some point too.
R=rsc
DELTA=14 (10 added, 0 deleted, 4 changed)
OCL=17387
CL=17390
|
2008-10-17 17:28:09 -07:00 |
|
Ian Lance Taylor
|
489b5001e2
|
Use unsigned int in itoa to avoid relying on the behaviour of
signed integer overflow when negating the most negative
integer.
R=rsc
DELTA=11 (0 added, 7 deleted, 4 changed)
OCL=16105
CL=16120
|
2008-09-29 13:40:23 -07:00 |
|
Ian Lance Taylor
|
99ec031391
|
To get an empty string, return an empty string, not 0.
R=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=15858
CL=15860
|
2008-09-25 10:51:23 -07:00 |
|
Russ Cox
|
729bc5c0c7
|
rudimentary string utilities.
R=r
DELTA=314 (306 added, 8 deleted, 0 changed)
OCL=15074
CL=15263
|
2008-09-12 16:12:20 -07:00 |
|