View Single Post
  #3  
Old 12-29-2011, 09:43 PM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
Quote:
Originally Posted by scriptless View Post
31? How would you manipulate the other 30 bits?
Bit ops work on all the bits...

PHP Code:
-0x7fffffff*((x&0x40000000)>>30)+((x&0x3fffffff)<<1
__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/

Last edited by Tolnaftate2004; 12-29-2011 at 10:10 PM..
Reply With Quote