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 5 //go:build 386 || amd64 || arm64 || ppc64 || ppc64le || s390x || wasm 6 // +build 386 amd64 arm64 ppc64 ppc64le s390x wasm 7 8 package math 9 10 const haveArchFloor = true 11 12 func archFloor(x float64) float64 13 14 const haveArchCeil = true 15 16 func archCeil(x float64) float64 17 18 const haveArchTrunc = true 19 20 func archTrunc(x float64) float64 21