
Security News
OpenClaw Skill Marketplace Emerges as Active Malware Vector
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.
test-float-overlap
Advanced tools
Test if the significands of two floating point numbers overlap.
var testOverlap = require("test-float-overlap")
console.log(testOverlap(0.5, 1.0), testOverlap(1.5, 1.0))
Output:
false true
npm install test-float-overlap
require("test-float-overlap")(a, b)Test if a pair of floating point numbers' significands overlap.
a and b are both double precision IEEE754 numbersReturns true if the binary representations of the significands of the numbers of overlap, false otherwise
(c) 2014 Mikola Lysenko. MIT License
FAQs
Test if two floating point numbers overlap
The npm package test-float-overlap receives a total of 2 weekly downloads. As such, test-float-overlap popularity was classified as not popular.
We found that test-float-overlap 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.

Security News
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.