github.com/switchupcb/yaegi@v0.10.2/stdlib/go1_17_math_cmplx.go (about)

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