...

Source file src/math/arith_s390x.go

Documentation: math

     1  // Copyright 2016 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  package math
     6  
     7  import "internal/cpu"
     8  
     9  func expTrampolineSetup(x float64) float64
    10  func expAsm(x float64) float64
    11  
    12  func logTrampolineSetup(x float64) float64
    13  func logAsm(x float64) float64
    14  
    15  // Below here all functions are grouped in stubs.go for other
    16  // architectures.
    17  
    18  const haveArchLog10 = true
    19  
    20  func archLog10(x float64) float64
    21  func log10TrampolineSetup(x float64) float64
    22  func log10Asm(x float64) float64
    23  
    24  const haveArchCos = true
    25  
    26  func archCos(x float64) float64
    27  func cosTrampolineSetup(x float64) float64
    28  func cosAsm(x float64) float64
    29  
    30  const haveArchCosh = true
    31  
    32  func archCosh(x float64) float64
    33  func coshTrampolineSetup(x float64) float64
    34  func coshAsm(x float64) float64
    35  
    36  const haveArchSin = true
    37  
    38  func archSin(x float64) float64
    39  func sinTrampolineSetup(x float64) float64
    40  func sinAsm(x float64) float64
    41  
    42  const haveArchSinh = true
    43  
    44  func archSinh(x float64) float64
    45  func sinhTrampolineSetup(x float64) float64
    46  func sinhAsm(x float64) float64
    47  
    48  const haveArchTanh = true
    49  
    50  func archTanh(x float64) float64
    51  func tanhTrampolineSetup(x float64) float64
    52  func tanhAsm(x float64) float64
    53  
    54  const haveArchLog1p = true
    55  
    56  func archLog1p(x float64) float64
    57  func log1pTrampolineSetup(x float64) float64
    58  func log1pAsm(x float64) float64
    59  
    60  const haveArchAtanh = true
    61  
    62  func archAtanh(x float64) float64
    63  func atanhTrampolineSetup(x float64) float64
    64  func atanhAsm(x float64) float64
    65  
    66  const haveArchAcos = true
    67  
    68  func archAcos(x float64) float64
    69  func acosTrampolineSetup(x float64) float64
    70  func acosAsm(x float64) float64
    71  
    72  const haveArchAcosh = true
    73  
    74  func archAcosh(x float64) float64
    75  func acoshTrampolineSetup(x float64) float64
    76  func acoshAsm(x float64) float64
    77  
    78  const haveArchAsin = true
    79  
    80  func archAsin(x float64) float64
    81  func asinTrampolineSetup(x float64) float64
    82  func asinAsm(x float64) float64
    83  
    84  const haveArchAsinh = true
    85  
    86  func archAsinh(x float64) float64
    87  func asinhTrampolineSetup(x float64) float64
    88  func asinhAsm(x float64) float64
    89  
    90  const haveArchErf = true
    91  
    92  func archErf(x float64) float64
    93  func erfTrampolineSetup(x float64) float64
    94  func erfAsm(x float64) float64
    95  
    96  const haveArchErfc = true
    97  
    98  func archErfc(x float64) float64
    99  func erfcTrampolineSetup(x float64) float64
   100  func erfcAsm(x float64) float64
   101  
   102  const haveArchAtan = true
   103  
   104  func archAtan(x float64) float64
   105  func atanTrampolineSetup(x float64) float64
   106  func atanAsm(x float64) float64
   107  
   108  const haveArchAtan2 = true
   109  
   110  func archAtan2(y, x float64) float64
   111  func atan2TrampolineSetup(x, y float64) float64
   112  func atan2Asm(x, y float64) float64
   113  
   114  const haveArchCbrt = true
   115  
   116  func archCbrt(x float64) float64
   117  func cbrtTrampolineSetup(x float64) float64
   118  func cbrtAsm(x float64) float64
   119  
   120  const haveArchTan = true
   121  
   122  func archTan(x float64) float64
   123  func tanTrampolineSetup(x float64) float64
   124  func tanAsm(x float64) float64
   125  
   126  const haveArchExpm1 = true
   127  
   128  func archExpm1(x float64) float64
   129  func expm1TrampolineSetup(x float64) float64
   130  func expm1Asm(x float64) float64
   131  
   132  const haveArchPow = true
   133  
   134  func archPow(x, y float64) float64
   135  func powTrampolineSetup(x, y float64) float64
   136  func powAsm(x, y float64) float64
   137  
   138  const haveArchFrexp = false
   139  
   140  func archFrexp(x float64) (float64, int) {
   141  	panic("not implemented")
   142  }
   143  
   144  const haveArchLdexp = false
   145  
   146  func archLdexp(frac float64, exp int) float64 {
   147  	panic("not implemented")
   148  }
   149  
   150  const haveArchLog2 = false
   151  
   152  func archLog2(x float64) float64 {
   153  	panic("not implemented")
   154  }
   155  
   156  const haveArchMod = false
   157  
   158  func archMod(x, y float64) float64 {
   159  	panic("not implemented")
   160  }
   161  
   162  const haveArchRemainder = false
   163  
   164  func archRemainder(x, y float64) float64 {
   165  	panic("not implemented")
   166  }
   167  
   168  // hasVX reports whether the machine has the z/Architecture
   169  // vector facility installed and enabled.
   170  var hasVX = cpu.S390X.HasVX
   171  

View as plain text