1 Star 0 Fork 0

vanyoxi / zkrpsm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
intconversion.go 909 Bytes
一键复制 编辑 原始数据 按行查看 历史
Matthijs van den Bos 提交于 2019-07-22 15:40 . Update license header
/*
* Copyright (C) 2019 ING BANK N.V.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package intconversion
import "math/big"
/*
Read big integer in base 10 from string.
*/
func BigFromBase10(value string) *big.Int {
i, _ := new(big.Int).SetString(value, 10)
return i
}
1
https://gitee.com/vanyoxi/zkrpsm.git
git@gitee.com:vanyoxi/zkrpsm.git
vanyoxi
zkrpsm
zkrpsm
84e2b5b1a663

搜索帮助