FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » signed int64 pack/unpack
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: signed int64 pack/unpack [message #184618 is a reply to message #184617] Mon, 13 January 2014 01:20 Go to previous messageGo to previous message
Ben Bacarisse is currently offline  Ben Bacarisse
Messages: 82
Registered: November 2013
Karma:
Member
cameron7(at)gmail(dot)com writes:

> Although it does lead me to the question, how will we do unsigned
> int64 :)

:) indeed! PHP does not support unsigned integers so it's a genuine
problem. In languages without unsigned integers, you can get by only
when the larges unsigned quantity you every use is <= INT_MAX.

> For another day I guess...

The answer will depend on what the code must do with the results.
Keeping them as signed might work for a lot of what gets done with it.

--
Ben.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how did I wind up with double headers?
Next Topic: Switch question
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 02:32:58 GMT 2024

Total time taken to generate the page: 0.05008 seconds