github.com/HaHadaxigua/yaegi@v1.0.1/stdlib/go1_16_math_cmplx.go (about)

     1  // Code generated by 'yaegi extract math/cmplx'. DO NOT EDIT.
     2  
     3  // +build go1.16,!go1.17
     4  
     5  package stdlib
     6  
     7  import (
     8  	"math/cmplx"
     9  	"reflect"
    10  )
    11  
    12  func init() {
    13  	Symbols["math/cmplx/cmplx"] = map[string]reflect.Value{
    14  		// function, constant and variable definitions
    15  		"Abs":   reflect.ValueOf(cmplx.Abs),
    16  		"Acos":  reflect.ValueOf(cmplx.Acos),
    17  		"Acosh": reflect.ValueOf(cmplx.Acosh),
    18  		"Asin":  reflect.ValueOf(cmplx.Asin),
    19  		"Asinh": reflect.ValueOf(cmplx.Asinh),
    20  		"Atan":  reflect.ValueOf(cmplx.Atan),
    21  		"Atanh": reflect.ValueOf(cmplx.Atanh),
    22  		"Conj":  reflect.ValueOf(cmplx.Conj),
    23  		"Cos":   reflect.ValueOf(cmplx.Cos),
    24  		"Cosh":  reflect.ValueOf(cmplx.Cosh),
    25  		"Cot":   reflect.ValueOf(cmplx.Cot),
    26  		"Exp":   reflect.ValueOf(cmplx.Exp),
    27  		"Inf":   reflect.ValueOf(cmplx.Inf),
    28  		"IsInf": reflect.ValueOf(cmplx.IsInf),
    29  		"IsNaN": reflect.ValueOf(cmplx.IsNaN),
    30  		"Log":   reflect.ValueOf(cmplx.Log),
    31  		"Log10": reflect.ValueOf(cmplx.Log10),
    32  		"NaN":   reflect.ValueOf(cmplx.NaN),
    33  		"Phase": reflect.ValueOf(cmplx.Phase),
    34  		"Polar": reflect.ValueOf(cmplx.Polar),
    35  		"Pow":   reflect.ValueOf(cmplx.Pow),
    36  		"Rect":  reflect.ValueOf(cmplx.Rect),
    37  		"Sin":   reflect.ValueOf(cmplx.Sin),
    38  		"Sinh":  reflect.ValueOf(cmplx.Sinh),
    39  		"Sqrt":  reflect.ValueOf(cmplx.Sqrt),
    40  		"Tan":   reflect.ValueOf(cmplx.Tan),
    41  		"Tanh":  reflect.ValueOf(cmplx.Tanh),
    42  	}
    43  }