We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd662b1 commit ce8f6b8Copy full SHA for ce8f6b8
lib/node_modules/@stdlib/number/float64/base/ulp-difference/examples/index.js
@@ -24,15 +24,20 @@ var ulpdiff = require( './../lib' );
24
25
var d = ulpdiff( 1.0, 1.0+EPS );
26
console.log( d );
27
+// => 1.0
28
29
d = ulpdiff( 5.8364e-319, 5.8367e-319 );
30
31
+// => 6.0
32
33
d = ulpdiff( 0.0, SMALLEST_SUBNORMAL );
34
35
36
37
d = ulpdiff( 0.0, -0.0 );
38
39
+// => 0.0
40
41
d = ulpdiff( SMALLEST_SUBNORMAL, -SMALLEST_SUBNORMAL );
42
43
+// => 2.0
0 commit comments