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

     1  // export by github.com/goplus/igop/cmd/qexp
     2  
     3  //+build go1.15,!go1.16
     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  			"math/bits": "bits",
    22  		},
    23  		Interfaces: map[string]reflect.Type{},
    24  		NamedTypes: map[string]reflect.Type{},
    25  		AliasTypes: map[string]reflect.Type{},
    26  		Vars:       map[string]reflect.Value{},
    27  		Funcs: map[string]reflect.Value{
    28  			"Abs":   reflect.ValueOf(q.Abs),
    29  			"Acos":  reflect.ValueOf(q.Acos),
    30  			"Acosh": reflect.ValueOf(q.Acosh),
    31  			"Asin":  reflect.ValueOf(q.Asin),
    32  			"Asinh": reflect.ValueOf(q.Asinh),
    33  			"Atan":  reflect.ValueOf(q.Atan),
    34  			"Atanh": reflect.ValueOf(q.Atanh),
    35  			"Conj":  reflect.ValueOf(q.Conj),
    36  			"Cos":   reflect.ValueOf(q.Cos),
    37  			"Cosh":  reflect.ValueOf(q.Cosh),
    38  			"Cot":   reflect.ValueOf(q.Cot),
    39  			"Exp":   reflect.ValueOf(q.Exp),
    40  			"Inf":   reflect.ValueOf(q.Inf),
    41  			"IsInf": reflect.ValueOf(q.IsInf),
    42  			"IsNaN": reflect.ValueOf(q.IsNaN),
    43  			"Log":   reflect.ValueOf(q.Log),
    44  			"Log10": reflect.ValueOf(q.Log10),
    45  			"NaN":   reflect.ValueOf(q.NaN),
    46  			"Phase": reflect.ValueOf(q.Phase),
    47  			"Polar": reflect.ValueOf(q.Polar),
    48  			"Pow":   reflect.ValueOf(q.Pow),
    49  			"Rect":  reflect.ValueOf(q.Rect),
    50  			"Sin":   reflect.ValueOf(q.Sin),
    51  			"Sinh":  reflect.ValueOf(q.Sinh),
    52  			"Sqrt":  reflect.ValueOf(q.Sqrt),
    53  			"Tan":   reflect.ValueOf(q.Tan),
    54  			"Tanh":  reflect.ValueOf(q.Tanh),
    55  		},
    56  		TypedConsts:   map[string]igop.TypedConst{},
    57  		UntypedConsts: map[string]igop.UntypedConst{},
    58  	})
    59  }