New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/sea-project/stdlib-math

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/sea-project/stdlib-math

  • v0.0.0-20210119113843-60e3e7f67868
  • Source
  • Go
  • Socket score

Version published
Created
Source

常用的数学相关的工具类

目录

序号名称描述
1big.gobig的一些常用方法
 BigPow返回一个指向big.Int类型的指针地址的指针
 BigMax返回较大的一个指针
 BigMin返回较小的一个指针
 PaddedBigBytes将一个大整数编码为一个大端字节切片
 Byte返回位置n的字节
 U256U256编码为256位2的补码
 S256S256将x解释为一个2的补码
2integer.gointeger的一些常用方法
 SafeSub返回减法结果和是否发生溢出
 SafeAdd返回加法结果和是否发生溢出
 SafeMul返回乘法结果和是否发生溢出

FAQs

Package last updated on 19 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc