UInt16? UInt32? What is this?
Hy all! I'd like to know what mean UInt16 and UInt32. I looked at Palm Docs, but can't find nothing that explain me these things are. Thanks! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: UInt16? UInt32? What is this?
>From: "Régis Daniel de Oliveira" <[EMAIL PROTECTED]> >Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> >To: "Palm Developer Forum" <[EMAIL PROTECTED]> >Subject: UInt16? UInt32? What is this? >Date: Wed, 10 Jul 2002 08:59:31 -0300 > >Hy all! > >I'd like to know what mean UInt16 and UInt32. I looked at Palm Docs, but >can't find nothing that explain me these things are. > U=Unsigned Leon -- Leon Heller, G1HSM Tel: +44 1327 359058 Email:[EMAIL PROTECTED] My web page: http://www.geocities.com/leon_heller My low-cost Altera Flex design kit: http://www.leonheller.com _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: UInt16? UInt32? What is this?
UInt16 is a 16-bit unsigned integer, I don't know off the top of my head, but it's probably typedefed somthing like: typedef unsigned short int UInt16; Similarly, UInt32 is an unsigned 32-bit integer somthing like: typedef unsigned long int UInt32; They're just shorter ways of writing unsigned . Also, it means that you can change their definitions easily on systems where (for example) short is not 16-bits long and somthing else is. -Original Message- From: Rigis Daniel de Oliveira [mailto:[EMAIL PROTECTED]] Sent: 10 July 2002 13:00 To: Palm Developer Forum Subject: UInt16? UInt32? What is this? Hy all! I'd like to know what mean UInt16 and UInt32. I looked at Palm Docs, but can't find nothing that explain me these things are. Thanks! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: UInt16? UInt32? What is this?
heyo . UInt16 is a unsigned integer with size two bytes and the range is: 0...65535 UInt32 is a unsigned integer with size four bytes and the range is: 0...4294967295 saludos... >From: "Régis Daniel de Oliveira" <[EMAIL PROTECTED]> >Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> >To: "Palm Developer Forum" <[EMAIL PROTECTED]> >Subject: UInt16? UInt32? What is this? >Date: Wed, 10 Jul 2002 08:59:31 -0300 > >Hy all! > >I'd like to know what mean UInt16 and UInt32. I looked at Palm Docs, but >can't find nothing that explain me these things are. > >Thanks! > > > >-- >For information on using the Palm Developer Forums, or to unsubscribe, >please see http://www.palmos.com/dev/support/forums/ _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: UInt16? UInt32? What is this?
From: "Régis Daniel de Oliveira" <[EMAIL PROTECTED]> > I'd like to know what mean UInt16 and UInt32 If you're using CodeWarrior, highlight one of these words, then right click and choose "Go to typdef declaration of UInt32". It's a great CodeWarrior feature. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: UInt16? UInt32? What is this?
On Wed, 10 Jul 2002, Idries Hamadi wrote: > They're just shorter ways of writing unsigned . Also, it > means that you can change their definitions easily on systems where (for > example) short is not 16-bits long and somthing else is. IIRC, "unsigned long" on a DEC Alpha is 64 bits, so there's a valid point :-) --- Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/ Software Developer // Gamer // Webmaster // System Administrator Truly great madness cannot be achieved without significant intelligence. -- Henrik Tikkanen -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: UInt16? UInt32? What is this?
On Wed, 10 Jul 2002, Idries Hamadi wrote: > UInt16 is a 16-bit unsigned integer, I don't know off the top of my head, > but it's probably typedefed somthing like: > > typedef unsigned short int UInt16; typedef unsigned short UInt16; :) "short int" can mean something else :) // az [EMAIL PROTECTED] http://www.ardiri.com/ http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: UInt16? UInt32? What is this?
From: "Aaron Ardiri" <[EMAIL PROTECTED]> > > typedef unsigned short UInt16; > > :) "short int" can mean something else :) Actually, I don't think so. "short int" and "short" are equivalent, in my understanding. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: UInt16? UInt32? What is this?
On Wed, 10 Jul 2002, Mark Wilden wrote: > > typedef unsigned short UInt16; > > > > :) "short int" can mean something else :) > > Actually, I don't think so. "short int" and "short" are equivalent, in my > understanding. http://usgibm.nersc.gov/vac/ref/rucldint.htm ok :) your lucky *g* was confusing it with "long long", i guess "short short" is stupid since i means "long" anyhow :P [in theory] // az "i just flew 23 hours and its 100F here, i am tired." [EMAIL PROTECTED] http://www.ardiri.com/ http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: UInt16? UInt32? What is this?
Try Control button and right double click its faster. (if activate browser is checked in settings) "Mark Wilden" <[EMAIL PROTECTED]> wrote in message news:90752@palm-dev-forum... > > From: "Régis Daniel de Oliveira" <[EMAIL PROTECTED]> > > > I'd like to know what mean UInt16 and UInt32 > > If you're using CodeWarrior, highlight one of these words, then right click > and choose "Go to typdef declaration of UInt32". It's a great CodeWarrior > feature. > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: UInt16? UInt32? What is this?
Oops double left click. 8 hours sleep and a comfortable 75 degrees (no excuse) "Brandt Haagensen" <[EMAIL PROTECTED]> wrote in message news:90821@palm-dev-forum... > > Try Control button and right double click its faster. (if activate browser > is checked in settings) > > "Mark Wilden" <[EMAIL PROTECTED]> wrote in message > news:90752@palm-dev-forum... > > > > From: "Régis Daniel de Oliveira" <[EMAIL PROTECTED]> > > > > > I'd like to know what mean UInt16 and UInt32 > > > > If you're using CodeWarrior, highlight one of these words, then right > click > > and choose "Go to typdef declaration of UInt32". It's a great CodeWarrior > > feature. > > > > > > > > > > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: UInt16? UInt32? What is this?
From: "Aaron Ardiri" <[EMAIL PROTECTED]> > i guess > "short short" is stupid since i means "long" anyhow :P [in theory] "Short short." Now that's what I call short. But why stop there? struct { unsigned reallyReallyShort : 0.5; }; -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: UInt16? UInt32? What is this?
On Thu, Jul 11, 2002 at 10:41:13AM -0700, Mark Wilden wrote: > > "Short short." Now that's what I call short. But why stop there? > > struct { >unsigned reallyReallyShort : 0.5; > }; hmmm... fractional bitfields... don't say it too loud... you never know where ANSI C committee members are wandering... Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: UInt16? UInt32? What is this?
At 8:17 PM +0200 7/11/02, Marco Pantaleoni wrote: >On Thu, Jul 11, 2002 at 10:41:13AM -0700, Mark Wilden wrote: >> >> "Short short." Now that's what I call short. But why stop there? >> >>struct { >> unsigned reallyReallyShort : 0.5; >>}; > >hmmm... fractional bitfields... >don't say it too loud... you never know where ANSI C committee members >are wandering... Actually, I think that "fractional bitfields" are used in arithmetic compression. It's a bit like Huffman in that common characters are encoded with shorter bit sequences and infrequent characters are encoded with longer bit sequences, but takes advantage of the fact that, for optimal encoding, some characters need to be encoded with a "bit sequence" that is conceptually between two integral bit sequences. -- Keith -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: UInt16? UInt32? What is this?
On Thu, Jul 11, 2002 at 01:51:00PM -0700, Keith Rollin wrote: > > > >hmmm... fractional bitfields... > >don't say it too loud... you never know where ANSI C committee members > >are wandering... > > Actually, I think that "fractional bitfields" are used in arithmetic > compression. It's a bit like Huffman in that common characters are > encoded with shorter bit sequences and infrequent characters are > encoded with longer bit sequences, but takes advantage of the fact > that, for optimal encoding, some characters need to be encoded with a > "bit sequence" that is conceptually between two integral bit > sequences. Yes, I was joking of course. Perhaps the "fractionality" of bit lengths of single characters in arithmetic coding comes from the fact that you are no longer dealing with single character entities actually, but with sequences of characters, depending on their mutual frequencies. So, thinking in terms of characters could be somewhat misleading: maybe "symbols" could be a better choice. Just a guess though, I don't know anything about compression. Marco -- Marco Pantaleoni [EMAIL PROTECTED] Padova, Italy [EMAIL PROTECTED] elastiC language developer http://www.elasticworld.org -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/