We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ea2740 commit 99dc5faCopy full SHA for 99dc5fa
1 file changed
tests/float.js
@@ -8,6 +8,9 @@ var protobuf = require("..");
8
9
tape.test("floats", function(test) {
10
11
+ test.equal(1.401298464324817e-45, Math.pow(2, -149), "literal 2^-149 should match calculated");
12
+ test.equal(5e-324, Math.pow(2, -1074), "literal 2^-1074 should match calculated");
13
+
14
var common = [
15
0,
16
-0,
0 commit comments