mirror of https://github.com/golang/go.git
13 lines
301 B
ArmAsm
13 lines
301 B
ArmAsm
// Copyright 2016 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
#include "textflag.h"
|
|
|
|
// func Sqrt(x float64) float64
|
|
TEXT ·Sqrt(SB),NOSPLIT,$0
|
|
FMOVD x+0(FP), F1
|
|
FSQRT F1, F1
|
|
FMOVD F1, ret+8(FP)
|
|
RET
|