initial commit

This commit is contained in:
2026-03-22 03:21:45 +02:00
commit 897fea9f4e
15431 changed files with 2548840 additions and 0 deletions

15
node_modules/almost-equal/test/test.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
var almostEqual = require("../almost_equal.js")
require("tap").test("almost-equal", function(t) {
var a = 100
, b = 100 + 1e-12
//Check if a == b up to float precision
t.assert(almostEqual(a, b, almostEqual.FLT_EPSILON, almostEqual.FLT_EPSILON))
//Check if a == b up to double precision
t.assert(!almostEqual(a, b, almostEqual.DBL_EPSILON, almostEqual.DBL_EPSILON))
t.end()
})