1
vote
Vote UpVote

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
Favorite? Off-Topic? jpluimers @ 2011-11-22 06:00

Statistics

Visits: 863
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

stukelly
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)