LINUKS BLOG

Make progress is the topic for ever...

My Photo
Name:
Location: China

It's a fans of computer/ Computer is my favorite/ Making progress is the topic for ever...

Tuesday, January 30, 2007

About data type

memroom           type           name               dataRang                    eg.
8bits                  byte            byte                -2(7)...2(7)-1                byte b=127
16bits                short           shortInt           -2(15)...2(15)-1             int i=111
32bits                int               int                  -2(31)...2(31)-1             short s=234
64bits                long            longInt            -2(63)...2(63)-1              long a 323
32bits                float            float                 1.4e-45...3.4e+38         long b=33231121
64bits                double         double            4.9e-324...1.7e+308     long c=0x0a4d

--
Right or wrong decide by yourself, praise or blame listen to the others, gain or loss placid as usual, success or failure return to the zero.

0 Comments:

Post a Comment

<< Home