github.com/twelsh-aw/go/src@v0.0.0-20230516233729-a56fe86a7c81/math/stubs.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 !s390x 6 7 // This is a large group of functions that most architectures don't 8 // implement in assembly. 9 10 package math 11 12 const haveArchAcos = false 13 14 func archAcos(x float64) float64 { 15 panic("not implemented") 16 } 17 18 const haveArchAcosh = false 19 20 func archAcosh(x float64) float64 { 21 panic("not implemented") 22 } 23 24 const haveArchAsin = false 25 26 func archAsin(x float64) float64 { 27 panic("not implemented") 28 } 29 30 const haveArchAsinh = false 31 32 func archAsinh(x float64) float64 { 33 panic("not implemented") 34 } 35 36 const haveArchAtan = false 37 38 func archAtan(x float64) float64 { 39 panic("not implemented") 40 } 41 42 const haveArchAtan2 = false 43 44 func archAtan2(y, x float64) float64 { 45 panic("not implemented") 46 } 47 48 const haveArchAtanh = false 49 50 func archAtanh(x float64) float64 { 51 panic("not implemented") 52 } 53 54 const haveArchCbrt = false 55 56 func archCbrt(x float64) float64 { 57 panic("not implemented") 58 } 59 60 const haveArchCos = false 61 62 func archCos(x float64) float64 { 63 panic("not implemented") 64 } 65 66 const haveArchCosh = false 67 68 func archCosh(x float64) float64 { 69 panic("not implemented") 70 } 71 72 const haveArchErf = false 73 74 func archErf(x float64) float64 { 75 panic("not implemented") 76 } 77 78 const haveArchErfc = false 79 80 func archErfc(x float64) float64 { 81 panic("not implemented") 82 } 83 84 const haveArchExpm1 = false 85 86 func archExpm1(x float64) float64 { 87 panic("not implemented") 88 } 89 90 const haveArchFrexp = false 91 92 func archFrexp(x float64) (float64, int) { 93 panic("not implemented") 94 } 95 96 const haveArchLdexp = false 97 98 func archLdexp(frac float64, exp int) float64 { 99 panic("not implemented") 100 } 101 102 const haveArchLog10 = false 103 104 func archLog10(x float64) float64 { 105 panic("not implemented") 106 } 107 108 const haveArchLog2 = false 109 110 func archLog2(x float64) float64 { 111 panic("not implemented") 112 } 113 114 const haveArchLog1p = false 115 116 func archLog1p(x float64) float64 { 117 panic("not implemented") 118 } 119 120 const haveArchMod = false 121 122 func archMod(x, y float64) float64 { 123 panic("not implemented") 124 } 125 126 const haveArchPow = false 127 128 func archPow(x, y float64) float64 { 129 panic("not implemented") 130 } 131 132 const haveArchRemainder = false 133 134 func archRemainder(x, y float64) float64 { 135 panic("not implemented") 136 } 137 138 const haveArchSin = false 139 140 func archSin(x float64) float64 { 141 panic("not implemented") 142 } 143 144 const haveArchSinh = false 145 146 func archSinh(x float64) float64 { 147 panic("not implemented") 148 } 149 150 const haveArchTan = false 151 152 func archTan(x float64) float64 { 153 panic("not implemented") 154 } 155 156 const haveArchTanh = false 157 158 func archTanh(x float64) float64 { 159 panic("not implemented") 160 }