1 // Copyright ©2015 The Gonum 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.
5 //+build !amd64 noasm appengine
13 // Sqrt returns the square root of x.
20 func Sqrt(x float32) float32 {
21 // FIXME(kortschak): Direct translation of the math package
22 // asm code for 386 fails to build. No test hardware is available
23 // for arm, so using conversion instead.
24 return float32(math.Sqrt(float64(x)))