This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* int16, and uint16 numbers in JS. | |
* | |
* by Dmitry Soshnikov <dmitry.soshnikov@gmail.com> | |
*/ | |
const assert = require('assert'); | |
/** | |
* Converts a number to signed 16-bit integer. |