Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/ericlagergren/decimal
decimal
implements arbitrary precision, decimal floating-point numbers, per
the General Decimal Arithmetic specification.
Useful zero values.
The zero value of a decimal.Big
is 0, just like math/big
.
Multiple operating modes. Different operating modes allow you to tailor the package's behavior to your needs. The GDA mode strictly implements the GDA specification, while the Go mode implements familiar Go idioms.
High performance.
decimal
is consistently one of the fastest arbitrary-precision decimal
floating-point libraries, regardless of language.
An extensive math library.
The math/
subpackage implements elementary and trigonometric functions,
continued fractions, and more.
A familiar, idiomatic API.
decimal
's API follows math/big
's API, so there isn't a steep learning
curve.
go get github.com/ericlagergren/decimal
decimal
uses Semantic Versioning. The current version is 3.3.1.
decimal
only explicitly supports the two most recent major Go 1.X versions.
FAQs
Unknown package
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.