Raised This Month: $ Target: $400
 0% 

Negative shifting bitsum.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 04-17-2017 , 19:48   Re: Negative shifting bitsum.
Reply With Quote #1

Quote:
Originally Posted by Natsheh View Post
(1>>0) = 1/2 = 0.5
(x>>0) = x
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-18-2017 , 10:28   Re: Negative shifting bitsum.
Reply With Quote #2

Quote:
Originally Posted by PRoSToTeM@ View Post
(x>>0) = x
so whats the point of shifting right?

and what about (x>>1) = ? what dose it equal to?

&&

btw shifting negative gives results, it dosen't throw an error! (1<<-1) & (1<<0) = 0
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 04-18-2017 at 10:35.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode