go accuracy_string 源码

  • 2022-07-15
  • 浏览 (826)

golang accuracy_string 代码

文件路径:/src/math/big/accuracy_string.go

// Code generated by "stringer -type=Accuracy"; DO NOT EDIT.

package big

import "strconv"

const _Accuracy_name = "BelowExactAbove"

var _Accuracy_index = [...]uint8{0, 5, 10, 15}

func (i Accuracy) String() string {
	i -= -1
	if i < 0 || i >= Accuracy(len(_Accuracy_index)-1) {
		return "Accuracy(" + strconv.FormatInt(int64(i+-1), 10) + ")"
	}
	return _Accuracy_name[_Accuracy_index[i]:_Accuracy_index[i+1]]
}

相关信息

go 源码目录

相关文章

go alias_test 源码

go arith 源码

go arith_amd64 源码

go arith_decl 源码

go arith_decl_pure 源码

go arith_decl_s390x 源码

go arith_s390x_test 源码

go arith_test 源码

go bits_test 源码

go calibrate_test 源码

0  赞