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 ce8f6b8 commit e05da8aCopy full SHA for e05da8a
lib/node_modules/@stdlib/number/float64/base/ulp-difference/README.md
@@ -98,18 +98,23 @@ var ulpdiff = require( '@stdlib/number/float64/base/ulp-difference' );
98
99
var d = ulpdiff( 1.0, 1.0+EPS );
100
console.log( d );
101
+// => 1.0
102
103
d = ulpdiff( 5.8364e-319, 5.8367e-319 );
104
105
+// => 6.0
106
107
d = ulpdiff( 0.0, SMALLEST_SUBNORMAL );
108
109
110
111
d = ulpdiff( 0.0, -0.0 );
112
113
+// => 0.0
114
115
d = ulpdiff( SMALLEST_SUBNORMAL, -SMALLEST_SUBNORMAL );
116
117
+// => 2.0
118
```
119
120
</section>
0 commit comments