1 // generated by stringer -type=RoundingMode; DO NOT EDIT 2 3 package big 4 5 import "fmt" 6 7 const _RoundingMode_name = "ToNearestEvenToNearestAwayToZeroAwayFromZeroToNegativeInfToPositiveInf" 8 9 var _RoundingMode_index = [...]uint8{0, 13, 26, 32, 44, 57, 70} 10 11 func (i RoundingMode) String() string { 12 if i+1 >= RoundingMode(len(_RoundingMode_index)) { 13 return fmt.Sprintf("RoundingMode(%d)", i) 14 } 15 return _RoundingMode_name[_RoundingMode_index[i]:_RoundingMode_index[i+1]] 16 } 17