blob: 32c65fde0a86f8044db2d9f6e1470e88a32231b3 [file]
// Code generated by "stringer -type=Accuracy"; DO NOT EDIT.
package big
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[Below - -1]
_ = x[Exact-0]
_ = x[Above-1]
}
const _Accuracy_name = "BelowExactAbove"
var _Accuracy_index = [...]uint8{0, 5, 10, 15}
func (i Accuracy) String() string {
idx := int(i) - -1
if i < -1 || idx >= len(_Accuracy_index)-1 {
return "Accuracy(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _Accuracy_name[_Accuracy_index[idx]:_Accuracy_index[idx+1]]
}