in reply to Help with Mac Address to Integer conversion
I consider this to be a bug in perl. The other mathemagical operators DTRT when you would overflow an int and auto-promote your data from an int to a double. This should do the same. Yes, there's a corresponding loss of precision, but if we accept that for multiplication we should accept it for shifting.
|
|---|