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
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import Int64 = require( './index' );
x.toString(); // $ExpectType string
}

// The function returns an instance having a `toJSON` method to serialize an instance as a JSON object....
// The function returns an instance having a `toJSON` method to serialize an instance as a JSON object...
{
const x = new Int64( 5 ); // $ExpectType Int64
x.toJSON(); // $ExpectType SerializedInt64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var assign = require( './assign.js' );
* Splits a number into the high and low 32-bit words of a 64-bit unsigned integer.
*
* @param {NonNegativeInteger} value - integer value in the range [0, 2^53-1]
* @returns {Array<uinteger32>} high and low words as 32-bit unsigned integers
* @returns {Array<integer>} high and low words as 32-bit unsigned integers
*
* @example
* var out = number2words( 1234 );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ var opts = {
};
var lambda = uniform( 10, 0.0, 20.0, opts );

logEachMap( 'λ: %lf, mode(X;λ): %lf', lambda, mode );
logEachMap( 'λ: %0.4f, mode(X;λ): %0.4f', lambda, mode );
```

</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ var opts = {
};
var lambda = uniform( 10, 0.0, 20.0, opts );

logEachMap( 'λ: %lf, mode(X;λ): %lf', lambda, mode );
logEachMap( 'λ: %0.4f, mode(X;λ): %0.4f', lambda, mode );