| |
|
|
Jörg Sellmeyer | Perhaps have I Yes only a fallacy but ought to SetBit(l!,31,1) not %1000000000000000000000000000000000000000 yield? CompileMarkSeparationWindow 600,800
Var f! = %11111111111111111111111111111111
Declare l!
WhileLoop 0,31
l! = SetBit(l!,&Loop,1)
Print l!,&Loop
Wend
print TestBit(l!,31),TestBit(f!,31)
Print f!,%11111111111111111111111111111111,l!,%10000000000000000000000000000000
l! = %10000000000000000000000000000000
Print l!
WhileLoop 0,31
Print TestBit(f!,&Loop),
Wend
WaitInput
or depends with the a signed variables together? but l! = %10000000000000000000000000000000 goes Yes.
Übrigens goes SetBit(n1,n2,n3) only of 0-31. Perhaps ought to with the the introduction of QuadInt too time aufgebohrt go. ought to it on it lying, that SetBit 31 automatically the Vorzeichenbit setting? |
|
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ... | 11/12/11 ▲ |
|
|
|
|
Jörg Sellmeyer | only time to appendix: with Quad functions it too. |
|
|
| |
|
|
|
RGH | Hm, i see your trouble not? If I the code walk let, power it the, what expects.
in principle would I but of it dissuade, Fließkommazahlen as Parameter for bit-Operationen To use. virtual these for Integervariablen of Integer To Quad.
Greeting Roland |
|
|
| XProfan X3Intel 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/04/16 ▲ |
|
|
|
|
Jörg Sellmeyer | it ought to quite no Problemmeldung his. I wanted to only allude, that SetBit now too with Quads functions. the others was only one fallacy of me. |
|
|
| |
|
|