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