Source File
roundingmode_string.go
Belonging Package
math/big
// Code generated by "stringer -type=RoundingMode"; DO NOT EDIT.
package big
import
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var [1]struct{}
_ = [ToNearestEven-0]
_ = [ToNearestAway-1]
_ = [ToZero-2]
_ = [AwayFromZero-3]
_ = [ToNegativeInf-4]
_ = [ToPositiveInf-5]
}
const _RoundingMode_name = "ToNearestEvenToNearestAwayToZeroAwayFromZeroToNegativeInfToPositiveInf"
var _RoundingMode_index = [...]uint8{0, 13, 26, 32, 44, 57, 70}
func ( RoundingMode) () string {
if >= RoundingMode(len(_RoundingMode_index)-1) {
return "RoundingMode(" + strconv.FormatInt(int64(), 10) + ")"
}
return _RoundingMode_name[_RoundingMode_index[]:_RoundingMode_index[+1]]
}
The pages are generated with Golds v0.7.0-preview. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |