libstdc++: Avoid -Wmaybe-uninitialized warnings in text_encoding.cc
[official-gcc.git] / libgo / go / math / stubs.go
blob551920d116b7053a6776bc537afcf7c5b94a90b4
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.
5 //-go:build !s390x
7 // This is a large group of functions that most architectures don't
8 // implement in assembly.
10 package math
12 const haveArchAcos = false
14 func archAcos(x float64) float64 {
15 panic("not implemented")
18 const haveArchAcosh = false
20 func archAcosh(x float64) float64 {
21 panic("not implemented")
24 const haveArchAsin = false
26 func archAsin(x float64) float64 {
27 panic("not implemented")
30 const haveArchAsinh = false
32 func archAsinh(x float64) float64 {
33 panic("not implemented")
36 const haveArchAtan = false
38 func archAtan(x float64) float64 {
39 panic("not implemented")
42 const haveArchAtan2 = false
44 func archAtan2(y, x float64) float64 {
45 panic("not implemented")
48 const haveArchAtanh = false
50 func archAtanh(x float64) float64 {
51 panic("not implemented")
54 const haveArchCbrt = false
56 func archCbrt(x float64) float64 {
57 panic("not implemented")
60 const haveArchCos = false
62 func archCos(x float64) float64 {
63 panic("not implemented")
66 const haveArchCosh = false
68 func archCosh(x float64) float64 {
69 panic("not implemented")
72 const haveArchErf = false
74 func archErf(x float64) float64 {
75 panic("not implemented")
78 const haveArchErfc = false
80 func archErfc(x float64) float64 {
81 panic("not implemented")
84 const haveArchExpm1 = false
86 func archExpm1(x float64) float64 {
87 panic("not implemented")
90 const haveArchFrexp = false
92 func archFrexp(x float64) (float64, int) {
93 panic("not implemented")
96 const haveArchLdexp = false
98 func archLdexp(frac float64, exp int) float64 {
99 panic("not implemented")
102 const haveArchLog10 = false
104 func archLog10(x float64) float64 {
105 panic("not implemented")
108 const haveArchLog2 = false
110 func archLog2(x float64) float64 {
111 panic("not implemented")
114 const haveArchLog1p = false
116 func archLog1p(x float64) float64 {
117 panic("not implemented")
120 const haveArchMod = false
122 func archMod(x, y float64) float64 {
123 panic("not implemented")
126 const haveArchPow = false
128 func archPow(x, y float64) float64 {
129 panic("not implemented")
132 const haveArchRemainder = false
134 func archRemainder(x, y float64) float64 {
135 panic("not implemented")
138 const haveArchSin = false
140 func archSin(x float64) float64 {
141 panic("not implemented")
144 const haveArchSinh = false
146 func archSinh(x float64) float64 {
147 panic("not implemented")
150 const haveArchTan = false
152 func archTan(x float64) float64 {
153 panic("not implemented")
156 const haveArchTanh = false
158 func archTanh(x float64) float64 {
159 panic("not implemented")