github.com/rakyll/go@v0.0.0-20170216000551-64c02460d703/src/math/arith_s390x.go (about)

     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  func log10TrampolineSetup(x float64) float64
     8  func log10Asm(x float64) float64
     9  
    10  func cosTrampolineSetup(x float64) float64
    11  func cosAsm(x float64) float64
    12  
    13  func coshTrampolineSetup(x float64) float64
    14  func coshAsm(x float64) float64
    15  
    16  func sinTrampolineSetup(x float64) float64
    17  func sinAsm(x float64) float64
    18  
    19  func sinhTrampolineSetup(x float64) float64
    20  func sinhAsm(x float64) float64
    21  
    22  func tanhTrampolineSetup(x float64) float64
    23  func tanhAsm(x float64) float64
    24  
    25  // hasVectorFacility reports whether the machine has the z/Architecture
    26  // vector facility installed and enabled.
    27  func hasVectorFacility() bool
    28  
    29  var hasVX = hasVectorFacility()