aboutsummaryrefslogtreecommitdiff
path: root/src/math/floor_asm.go
blob: 1265e5171e9b747c096d11cc2c609154d18e02ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2021 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.

//go:build 386 || amd64 || arm64 || ppc64 || ppc64le || s390x || wasm
// +build 386 amd64 arm64 ppc64 ppc64le s390x wasm

package math

const haveArchFloor = true

func archFloor(x float64) float64

const haveArchCeil = true

func archCeil(x float64) float64

const haveArchTrunc = true

func archTrunc(x float64) float64