]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] runtime: convert basic library routines from C to Go
authorRuss Cox <rsc@golang.org>
Tue, 11 Nov 2014 22:07:06 +0000 (17:07 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 11 Nov 2014 22:07:06 +0000 (17:07 -0500)
commit0c3c2c17243545e9bc7c5d158c5230fe299e8b73
treedd4e6270a830a226f66f924b8e91616dba4bc310
parent7b3ebb131f4a03c02f8f7723b26d55dd98bc702f
[dev.cc] runtime: convert basic library routines from C to Go

float.c held bit patterns for special float64 values,
hiding from the real uses. Rewrite Go code not to
refer to those values directly.

Convert library routines in runtime.c and string.c.

LGTM=r
R=r, dave
CC=austin, dvyukov, golang-codereviews, iant, khr
https://golang.org/cl/170330043
src/runtime/complex.go
src/runtime/float.c [deleted file]
src/runtime/runtime.c [deleted file]
src/runtime/runtime1.go [new file with mode: 0644]
src/runtime/sqrt.go
src/runtime/string.c [deleted file]
src/runtime/string1.go [new file with mode: 0644]