]> Cypherpunks repositories - gostls13.git/commit
math: 386 FPU hypot
authorCharles L. Dorian <cldorian@gmail.com>
Tue, 26 Jan 2010 20:53:02 +0000 (12:53 -0800)
committerRuss Cox <rsc@golang.org>
Tue, 26 Jan 2010 20:53:02 +0000 (12:53 -0800)
commitd4ca006334bedd55f1ebacc915ceaed5fd7c9e0a
tree32dea186066a33dd8cbca5208c333978cdeea93f
parent2dd3622bc75a168eaf02295669ec104b8d3acf9e
math: 386 FPU hypot

Added 386 FPU version of Hypot; modified all_test.go to test
Hypot with large arguments.  Also edited sqrt.go to remove
Sqrt(0) as a special case.

R=rsc
CC=golang-dev
https://golang.org/cl/186180
src/pkg/math/Makefile
src/pkg/math/all_test.go
src/pkg/math/hypot_386.s [new file with mode: 0644]
src/pkg/math/hypot_decl.go [new file with mode: 0644]
src/pkg/math/sqrt.go