github.com/twelsh-aw/go/src@v0.0.0-20230516233729-a56fe86a7c81/math/floor_noasm.go (about) 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 = false 10 11 func archFloor(x float64) float64 { 12 panic("not implemented") 13 } 14 15 const haveArchCeil = false 16 17 func archCeil(x float64) float64 { 18 panic("not implemented") 19 } 20 21 const haveArchTrunc = false 22 23 func archTrunc(x float64) float64 { 24 panic("not implemented") 25 }