| 1 |
// Copyright 2009 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 |
// Copyright ©2015 The Gonum Authors. All rights reserved. |
| 6 |
// Use of this source code is governed by a BSD-style |
| 7 |
// license that can be found in the LICENSE file. |
| 8 |
|
| 9 |
// +build !noasm,!gccgo,!safe |
| 10 |
|
| 11 |
#include "textflag.h" |
| 12 |
|
| 13 |
// func Sqrt(x float32) float32 |
| 14 |
TEXT ·Sqrt(SB),NOSPLIT,$0 |
| 15 |
SQRTSS x+0(FP), X0 |
| 16 |
MOVSS X0, ret+8(FP) |
| 17 |
RET |