Mike Gibson mike.gibson@storagecraft.com writes:
+/******************************************************************************
_allshr (NTDLL.@)
- Right arithmetic shift a 64 bit integer
- PARAMS
- a [I] Initial number.
- count [I] Number of bits to shift by.
- RETURNS
- The value of a following the shift.
- */
+LONGLONG WINAPI _allshr( LONGLONG a, INT count ) +{
- return a >> count;
+}
There's no guarantee that this would be an arithmetic shift, it's compiler-dependent.