github.com/traefik/yaegi@v0.15.1/stdlib/go1_19_math_big.go (about) 1 // Code generated by 'yaegi extract math/big'. DO NOT EDIT. 2 3 //go:build go1.19 && !go1.20 4 // +build go1.19,!go1.20 5 6 package stdlib 7 8 import ( 9 "go/constant" 10 "go/token" 11 "math/big" 12 "reflect" 13 ) 14 15 func init() { 16 Symbols["math/big/big"] = map[string]reflect.Value{ 17 // function, constant and variable definitions 18 "Above": reflect.ValueOf(big.Above), 19 "AwayFromZero": reflect.ValueOf(big.AwayFromZero), 20 "Below": reflect.ValueOf(big.Below), 21 "Exact": reflect.ValueOf(big.Exact), 22 "Jacobi": reflect.ValueOf(big.Jacobi), 23 "MaxBase": reflect.ValueOf(constant.MakeFromLiteral("62", token.INT, 0)), 24 "MaxExp": reflect.ValueOf(constant.MakeFromLiteral("2147483647", token.INT, 0)), 25 "MaxPrec": reflect.ValueOf(constant.MakeFromLiteral("4294967295", token.INT, 0)), 26 "MinExp": reflect.ValueOf(constant.MakeFromLiteral("-2147483648", token.INT, 0)), 27 "NewFloat": reflect.ValueOf(big.NewFloat), 28 "NewInt": reflect.ValueOf(big.NewInt), 29 "NewRat": reflect.ValueOf(big.NewRat), 30 "ParseFloat": reflect.ValueOf(big.ParseFloat), 31 "ToNearestAway": reflect.ValueOf(big.ToNearestAway), 32 "ToNearestEven": reflect.ValueOf(big.ToNearestEven), 33 "ToNegativeInf": reflect.ValueOf(big.ToNegativeInf), 34 "ToPositiveInf": reflect.ValueOf(big.ToPositiveInf), 35 "ToZero": reflect.ValueOf(big.ToZero), 36 37 // type definitions 38 "Accuracy": reflect.ValueOf((*big.Accuracy)(nil)), 39 "ErrNaN": reflect.ValueOf((*big.ErrNaN)(nil)), 40 "Float": reflect.ValueOf((*big.Float)(nil)), 41 "Int": reflect.ValueOf((*big.Int)(nil)), 42 "Rat": reflect.ValueOf((*big.Rat)(nil)), 43 "RoundingMode": reflect.ValueOf((*big.RoundingMode)(nil)), 44 "Word": reflect.ValueOf((*big.Word)(nil)), 45 } 46 }