You are here: Re: Right Shift « PHP Programming Language « IT news, forums, messages
Re: Right Shift

Posted by Oli Filth on 09/29/05 11:42

CrashRoX said the following on 15/03/2006 10:48:
> Im actually looking for the answer as 43814. Is there no "workaround"
> or solution to force a 64 bit machine to generate the same answer?
>

Why are you looking for this to be the answer? In some senses,
(4653896912 >> 13) is meaningless on a 32-bit machine.

However, I guess you could do:

$x = 4653896912;
$y = $x & 0xFFFFFFFF;
$z = $y >> 13;

I can't confirm that this will work though, as I don't have access to
64-bit PHP...

--
Oli

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация