...

Source file src/math/big/accuracy_string.go

Documentation: math/big

		 1  // Code generated by "stringer -type=Accuracy"; DO NOT EDIT.
		 2  
		 3  package big
		 4  
		 5  import "strconv"
		 6  
		 7  const _Accuracy_name = "BelowExactAbove"
		 8  
		 9  var _Accuracy_index = [...]uint8{0, 5, 10, 15}
		10  
		11  func (i Accuracy) String() string {
		12  	i -= -1
		13  	if i < 0 || i >= Accuracy(len(_Accuracy_index)-1) {
		14  		return "Accuracy(" + strconv.FormatInt(int64(i+-1), 10) + ")"
		15  	}
		16  	return _Accuracy_name[_Accuracy_index[i]:_Accuracy_index[i+1]]
		17  }
		18  

View as plain text