output array
input value
output array
var Uint32Array = require( `@stdlib/array/uint32` );
var out = new Uint32Array( 2 );
var w = toWords( out, 3.14e201 );
// returns <Uint32Array>[ 1774486211, 2479577218 ]
var bool = ( w === out );
// returns true
Splits a double-precision floating-point number into a higher order word (unsigned 32-bit integer) and a lower order word (unsigned 32-bit integer).
input value
output array
var w = toWords( 3.14e201 );
// returns [ 1774486211, 2479577218 ]
Splits a double-precision floating-point number into a higher order word (unsigned 32-bit integer) and a lower order word (unsigned 32-bit integer).