MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / _Lushr

Function _Lushr

vm/ByteCodeTranslator/src/javascript/parparvm_runtime.js:3829–3834  ·  view source on GitHub ↗
(a, n)

Source from the content-addressed store, hash-verified

3827 return _LL(a.h >> (n - 32), a.h >= 0 ? 0 : -1);
3828}
3829function _Lushr(a, n) { // logical right shift
3830 a = _Lc(a); n = (_LtoNum(n) | 0) & 63; if (n === 0) return a;
3831 if (n < 32) return _LL((a.l >>> n) | (a.h << (32 - n)), a.h >>> n);
3832 if (n === 32) return _LL(a.h, 0);
3833 return _LL(a.h >>> (n - 32), 0);
3834}
3835function _Ll2i(x) { return _Lc(x).l | 0; } // low 32 bits as signed int (Number)
3836function _LtoStr(a, radix) {
3837 a = _Lc(a); radix = (radix | 0) || 10;

Callers

nothing calls this directly

Calls 3

_LcFunction · 0.85
_LtoNumFunction · 0.85
_LLFunction · 0.85

Tested by

no test coverage detected