Source file src/math/floor_asm.go
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 7 package math 8 9 const haveArchFloor = true 10 11 func archFloor(x float64) float64 12 13 const haveArchCeil = true 14 15 func archCeil(x float64) float64 16 17 const haveArchTrunc = true 18 19 func archTrunc(x float64) float64 20