UNPKG

math-float64-get-low-word

Version:

Returns a 32-bit integer corresponding to the less significant 32 bits of a double-precision floating-point number.

21 lines (12 loc) 246 B
'use strict'; // MODULES // var isLittleEndian = require( 'utils-is-little-endian' ); // INDEX // var LOW; if ( isLittleEndian === true ) { LOW = 0; // first index } else { LOW = 1; // second index } // EXPORTS // module.exports = LOW;