Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ tape( 'the function returns the skewness of a triangular distribution', opts, fu
c = data.c;
for ( i = 0; i < expected.length; i++ ) {
y = skewness( a[ i ], b[ i ], c[ i ] );
t.strictEqual( isAlmostSameValue( y, expected[ i ], 0 ), true, 'returns expected value' );

// Note: large tolerance needed due to FMA (fused multiply-add) operations. With CFLAGS="-ffp-contract=off", the tolerance can be 0 ULPs.
t.strictEqual( isAlmostSameValue( y, expected[ i ], 96000 ), true, 'returns expected value' );
}
t.end();
});
Loading