github.com/goplus/igop@v0.25.0/pkg/math/cmplx/go114_export.go (about)

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.14,!go1.15
     4  
     5  package cmplx
     6  
     7  import (
     8  	q "math/cmplx"
     9  
    10  	"reflect"
    11  
    12  	"github.com/goplus/igop"
    13  )
    14  
    15  func init() {
    16  	igop.RegisterPackage(&igop.Package{
    17  		Name: "cmplx",
    18  		Path: "math/cmplx",
    19  		Deps: map[string]string{
    20  			"math": "math",
    21  		},
    22  		Interfaces: map[string]reflect.Type{},
    23  		NamedTypes: map[string]reflect.Type{},
    24  		AliasTypes: map[string]reflect.Type{},
    25  		Vars:       map[string]reflect.Value{},
    26  		Funcs: map[string]reflect.Value{
    27  			"Abs":   reflect.ValueOf(q.Abs),
    28  			"Acos":  reflect.ValueOf(q.Acos),
    29  			"Acosh": reflect.ValueOf(q.Acosh),
    30  			"Asin":  reflect.ValueOf(q.Asin),
    31  			"Asinh": reflect.ValueOf(q.Asinh),
    32  			"Atan":  reflect.ValueOf(q.Atan),
    33  			"Atanh": reflect.ValueOf(q.Atanh),
    34  			"Conj":  reflect.ValueOf(q.Conj),
    35  			"Cos":   reflect.ValueOf(q.Cos),
    36  			"Cosh":  reflect.ValueOf(q.Cosh),
    37  			"Cot":   reflect.ValueOf(q.Cot),
    38  			"Exp":   reflect.ValueOf(q.Exp),
    39  			"Inf":   reflect.ValueOf(q.Inf),
    40  			"IsInf": reflect.ValueOf(q.IsInf),
    41  			"IsNaN": reflect.ValueOf(q.IsNaN),
    42  			"Log":   reflect.ValueOf(q.Log),
    43  			"Log10": reflect.ValueOf(q.Log10),
    44  			"NaN":   reflect.ValueOf(q.NaN),
    45  			"Phase": reflect.ValueOf(q.Phase),
    46  			"Polar": reflect.ValueOf(q.Polar),
    47  			"Pow":   reflect.ValueOf(q.Pow),
    48  			"Rect":  reflect.ValueOf(q.Rect),
    49  			"Sin":   reflect.ValueOf(q.Sin),
    50  			"Sinh":  reflect.ValueOf(q.Sinh),
    51  			"Sqrt":  reflect.ValueOf(q.Sqrt),
    52  			"Tan":   reflect.ValueOf(q.Tan),
    53  			"Tanh":  reflect.ValueOf(q.Tanh),
    54  		},
    55  		TypedConsts:   map[string]igop.TypedConst{},
    56  		UntypedConsts: map[string]igop.UntypedConst{},
    57  	})
    58  }