You are here: Re: How do we assign 16 bytes unsigned Integer in PHP? « PHP Programming Language « IT news, forums, messages
Re: How do we assign 16 bytes unsigned Integer in PHP?

Posted by Jim Michaels on 10/12/07 11:39

"Jerry Stuckle" <jstucklex@attglobal.net> wrote in message
news:NfGdnYFUjZ5WHXXeRVn-ug@comcast.com...
> doorman wrote:
>> floats can store numbers up to 1.8x10^308, that should be enough
>>
>> mkwong8888@hotmail.com wrote:
>>
>>> We are unable to represent an unsigned integer with 16 bytes memory
>>> size. The current integer size is 4 bytes by default. There is no way
>>> for us to store large integer in this case.
>>>
>>>
>>> The valid number range is from 0 to 2^128-1
>>> (340282366920938463463374607431768211455).
>>> Thank you.
>>>
>
> But they don't have the precision he needs.

I saw these from an earlier post. try these. it will work to any precision
you want.
If your host won't allow you to include these libraries, write a precision
math class. I did once.

http://fr2.php.net/manual/en/ref.gmp.php
http://us2.php.net/manual/en/ref.bc.php



>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstucklex@attglobal.net
> ==================

 

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

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