| |
|
|
- Page 1 - |
|
| Imho becomes this View source:
not correctly worn out:
Hierbei set I x& on the worth $FFFFFFFE and question thereafter x& ex whether it whom same worth $FFFFFFFE own. becomes but "nein" determined.
or übersehe I thereby something?
so GEHTS:
so not: and so GEHTS too:
|
|
|
| |
|
|
| |
|
- Page 2 - |
|
|
RGH | $FFFFFFE is of itself from now time one positiver worth. too Hexwerte can with a omen slip go, -2 would in Hex now time -$2.
nevertheless can the worth one Longint without Overflow-Message allocated go. even yet more values. (the was sure a bewußte decision, there too a Error Message possible been would.)
then go simply The niedrigsten 4 byte (=32 bit) the Wertes. there but with one Signed-Longint (as well as with one Signed-Quad) the supreme bit for the omen standing, goes the Wertebereich even only To $7FFFFFFF. values ex $80000000 then as negative interprets (Überlauf).
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 02/10/11 ▲ |
|
|
|
|
| this is me so already clear.
a& as signedLong has whom Wertebereich of -2147483648 To +2147483647 -
if a& means the value -2 carry, then stand The Bytes on FE FF FF FF just as as Bytes with $FFFFFFFE on FE FF FF FF stand.
I have Yes same understood, that the XProfan in this drop the $FFFFFFFE even differently "interpretiert" and the it for a Statement (omen) gives.
I find however somehow neither correctly., that one 32-bit-Long with worth -2 not the Bytefolge $FFFFFFFE coincide but should can it naturally to accept there by the $/Hex-characters nunmal then in XProfan not 1:1 The Bytes meant his must separate even a "Interpretation". |
|
|
| |
|
|
|
| |
|
| |
|
|
|
| Frabbing (10.02.11)
to-zei-chen-bit...
Ah, you mean to-zei-chen-bit, not about Vorzei-chenbit or quite V-orzeiche-nbit or. vo-rze-I-enb-it - No, its the to-zei-chen-bit.
the missing still but not $FFFFFFFE - means is still clear with the bit the it itself ums Vorzeichenbit deals if with 32-bit-Long compared becomes.
somehow be I well To stumpf... ^^ |
|
|
| |
|
|
|
| where is because the Vorzeichenbit? |
|
|
| |
|
|
|
RGH | the Vorzeichenbit is the höchstwertige bit, means jenes, the with $80000000 staid becomes, if it itself for a vorzeichenloses Longint deals.
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 02/10/11 ▲ |
|
|
|
|
| old Spielverderber. |
|
|
| |
|
|
|
| @Frank: to-zei-chen-bit... |
|
|
| |
|
|
|
| Frabbing (10.02.11)
very, then schreib time -2 as 32 and as 64 bit-number binary among themselves and you should your mistake discern...
Schreib time $FFFFFFFE and -2 each 32-Bittig among themselves and the power of Grayskull is mitdir... |
|
|
| |
|
|
|
|
Schreib time $FFFFFFFE and -2 each 32-Bittig among themselves
is Yes no challenge. there's the puzzel the whole disappeared Postings today already rätselhafter... |
|
|
| |
|
|
|
RGH | The following Program shows (ex the next Delivery the Subscriptionsversion)* The Zusammenhänge:
* currently there another couple Problems with QuadInts, as they as Parameter on Procedures transfer and be moreover needed Delphi yet something Nachhilfe, so The binären Operators too with Int64 (=Quad) functions, what moreover led that |, &, <<, >>, TestBit() and SetBit() only To 32 bit correctly funktionierten.
Greeting Roland |
|
|
| Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4 | 02/11/11 ▲ |
|
|
|
|
| task: "Setzen tappt im dunkeln on possible coole Nature and point with XProfan the 2. bit the Wertes of/ one 32-bit-Long-Variable!"
Solution:
|
|
|
| |
|
|