Date: 09/10/01
- Next message: Egon Schmid: "Re: [PHP-DEV] Woah"
- Previous message: cnewbill <email protected>: "[PHP-DEV] Bug #13241: round() failed elementary level math"
- In reply to: Jeroen van Wolffelaar: "[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Next in thread: Phil Driscoll: "Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Reply: Phil Driscoll: "Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Reply: Andi Gutmans: "[PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Jeroen,
to give a little bit background, as a student of computersciences I happen
to work with bitshift not as a means of having a "quick" multiplication or
division, but as using it to "manipulate" bit-patterns.
The distinction between signed and unsigned rightshift is nothing strange,
obscure or redundant, but is implemented down to the machine-language
itsself (dependent on cpu-architecture).
So this is no "bad operator", but one of the most crucial operators on
bit-patterns. I don't want to sound arrogant (saying this is almost always a
sure sign, that it will ;-) ) but maybe you should inform yourself the next
time why other languages have this operator implemented.
Disabling signed shifting will force me to turn back to perl, as I use this
feature for quick hacking certain scripts I use at the University (and that
would be a very cruel thing to do :o) ) - besides, it would disregard the
"holy BC"...
Cheers & flames on (constructive comments are welcome),
Alexander
-- | Alexander Wirtz | eMail: wirtz <email protected> | | web <email protected> GmbH | "Accidents, Emergency, Ambulance" |-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Egon Schmid: "Re: [PHP-DEV] Woah"
- Previous message: cnewbill <email protected>: "[PHP-DEV] Bug #13241: round() failed elementary level math"
- In reply to: Jeroen van Wolffelaar: "[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Next in thread: Phil Driscoll: "Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Reply: Phil Driscoll: "Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Reply: Andi Gutmans: "[PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

