1
vote
In Delphi SHR is a SHR; in C >> is a SAR or SHR (via: Shift Right: Delphi vs C | Galfars Lair)
The Wiert Corner
– I never knew that >> in C was a SAR/SHR depending if the underlying integer type was signed/unsigned. In Delphi the SHR is always a SHR operation: it never takes into account the sign. SAR is the artithmetic shift right. SHR is the binary/logical shift right. –jeroen via: Shift Right: Delphi vs C | Galfars Lair. Filed under: Delphi, Development, Software Development
Statistics
|
Visits by Source |
User Actions |




