Skip to content

Commit ce37e13

Browse files
committed
Merge branch 'develop' into feat/gammainc-c
2 parents e1c5923 + a61496d commit ce37e13

File tree

1 file changed

+7
-0
lines changed
  • lib/node_modules/@stdlib/number/float64/base/ulp-difference/examples

1 file changed

+7
-0
lines changed

lib/node_modules/@stdlib/number/float64/base/ulp-difference/examples/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,17 @@
1919
'use strict';
2020

2121
var EPS = require( '@stdlib/constants/float64/eps' );
22+
var SMALLEST_SUBNORMAL = require( '@stdlib/constants/float64/smallest-subnormal' );
2223
var ulpdiff = require( './../lib' );
2324

2425
var d = ulpdiff( 1.0, 1.0+EPS );
2526
console.log( d );
2627

2728
d = ulpdiff( 5.8364e-319, 5.8367e-319 );
2829
console.log( d );
30+
31+
d = ulpdiff( 0.0, SMALLEST_SUBNORMAL );
32+
console.log( d );
33+
34+
d = ulpdiff( 0.0, -0.0 );
35+
console.log( d );

0 commit comments

Comments
 (0)