]> Cypherpunks repositories - gostls13.git/commit
move math routines from package sys to package math,
authorRuss Cox <rsc@golang.org>
Fri, 23 Jan 2009 00:23:44 +0000 (16:23 -0800)
committerRuss Cox <rsc@golang.org>
Fri, 23 Jan 2009 00:23:44 +0000 (16:23 -0800)
commit1f8a40d85c3bb7a1cf3113e7ab1afdb44f6c0e4d
treeece2442553c8681e8134d2201e6201e1e429adb8
parent8c5bc7e93adae7546b4f1520d1b20f18ebe95d88
move math routines from package sys to package math,
though they still build in src/runtime.

use cgo instead of hand-written wrappers.

R=r
DELTA=740  (289 added, 300 deleted, 151 changed)
OCL=23326
CL=23331
28 files changed:
src/cmd/gc/sys.go
src/cmd/gc/sysimport.c
src/cmd/gc/unsafe.go
src/lib/Makefile
src/lib/fmt/fmt_test.go
src/lib/math/Makefile
src/lib/math/asin.go
src/lib/math/exp.go
src/lib/math/floor.go
src/lib/math/fmod.go
src/lib/math/log.go
src/lib/math/pow.go
src/lib/math/sin.go
src/lib/math/sqrt.go
src/lib/math/tan.go
src/lib/strconv/atof.go
src/lib/strconv/ftoa.go
src/lib/strconv/ftoa_test.go
src/runtime/Makefile
src/runtime/amd64_darwin.h
src/runtime/cgo2c.c
src/runtime/float.c [new file with mode: 0644]
src/runtime/float_go.cgo [new file with mode: 0644]
src/runtime/rt1_amd64_darwin.c
src/runtime/runtime.c
src/runtime/runtime.h
src/runtime/sema.c
src/runtime/sema_go.cgo [new file with mode: 0644]