Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/number/int64/ctor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ var x = Int64.from( [ 1234, 5678 ] );
// returns <Int64>
```

#### Int64.of( high, low )

<a name="static-method-of"></a>

#### Int64.of( high, low )

Creates a new 64-bit signed integer from a high and low word.

```javascript
Expand Down
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/number/uint64/ctor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ var v = x.valueOf();

## Notes

- A 64-bit unsigned integer has a range of \[`0`, `2^64-1`].
- A 64-bit unsigned integer has a range of `[0, 2^64-1]`.
- The constructor accepts either a `number` or a `bigint` on the interval `[0, 2^64-1]`.
- Passing a number argument is safe and exact for integers within \[`0`, `2^53`]. For values exceeding `2^53`, JavaScript numbers incur precision loss; provide a `bigint` argument or construct from words using [`Uint64.of()`](#static-method-of) or [`Uint64.from()`](#static-method-from).
- Passing a number argument is safe and exact for integers within `[0, 2^53]`. For values exceeding `2^53`, JavaScript numbers incur precision loss; provide a `bigint` argument or construct from words using [`Uint64.of()`](#static-method-of) or [`Uint64.from()`](#static-method-from).

</section>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ tape( 'the function returns the standard deviation of a triangular distribution'
c = data.c;
for ( i = 0; i < expected.length; i++ ) {
y = stdev( 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 ], 64000 ), true, 'returns expected value' );
Comment thread
Planeshifter marked this conversation as resolved.
}
t.end();
});
Loading