
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
robust-subtract
Advanced tools
Exactly computes the difference of two non-increasing overlapping sequences. See robust-sum for more details.
var robustDiff = require("robust-subtract")
console.log(robustDiff([1], [1e-64]))
npm install robust-subtract
require("robust-subtract")(a,b)Returns the difference of the sequences a and b encoded as a non-overlapping increasing sequence.
a is the first numberb is the second numberReturns The difference of a and b
(c) 2014 Mikola Lysenko. MIT License
FAQs
Exact subtraction of non-increasing overlapping sequences
The npm package robust-subtract receives a total of 138,155 weekly downloads. As such, robust-subtract popularity was classified as popular.
We found that robust-subtract demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.