sqrt_asm.go 412 B

1234567891011121314
  1. // Copyright 2021 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. //go:build !noasm && !tinygo && (386 || amd64 || arm64 || arm || ppc64le || s390x || wasm)
  5. // +build !noasm
  6. // +build !tinygo
  7. // +build 386 amd64 arm64 arm ppc64le s390x wasm
  8. package math32
  9. const haveArchSqrt = true
  10. func archSqrt(x float32) float32