libgo/go/math/export_test.go
raw| 1 | // Copyright 2011 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package math |
| 6 | |
| 7 | // Export internal functions for testing. |
| 8 | var ExpGo = exp |
| 9 | var Exp2Go = exp2 |
| 10 | var HypotGo = hypot |
| 11 | var SqrtGo = sqrt |
| 12 | var TrigReduce = trigReduce |
| 13 | |
| 14 | const ReduceThreshold = reduceThreshold |