long type

   
long type Long type specifier

  simple-type-specifier  := long 

figs/acorn.gif

When used alone or with int , the long type specifier represents a long integer whose range is at least as large as a plain int . It can be combined with unsigned to denote an unsigned integer whose range is at least as large as a plain unsigned . A plain long is signed by default, but you can use the signed specifier to be explicit.

When combined with double , long represents an extended-precision, floating-point number, whose range and precision are at least as great as those of a plain double .

See Also

declaration , declarator , double , float , int , short , signed , type , unsigned , Chapter 2

   


C++ in a Nutshell
C++ in a Nutshell
ISBN: 059600298X
EAN: 2147483647
Year: 2005
Pages: 270
Authors: Ray Lischner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net