In Delphi SHR is a SHR; in C >> is a SAR or SHR (via: Shift Right: Delphi vs C | Galf
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: ...http://feeds.feedburner.com/~r/delph...~4/w4X0ukQ_QvE
More... |
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:26 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz