double toDoubleTwoByte(int msb, int lsb) { final bytes = (msb << 8) + lsb; return (bytes - ((bytes & 0x8000) << 1)) / 13981.0; }