home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_03 / 169.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  699KB  |  2550x3300
Labels: book | crt screen | poster | reckoner
OCR: Floating Point Types 169 example 123 4567L would have type long double The ANSI compilers supply header file named float.h that contains imple- mentation- dependent information about the range of each type of floating point variable The information is similar the information in the header file limits.h for the integer types declaration ofa variable of type float minimally consists of the keyword float followed by the variable name and terminated with semicolon. For example float floatvar; ting nta- declares a variable of type float named floatvar Similarly the code segment pre double doubl levar; long doubl ldvar; nust declares two variables one JO type double named doub. evar and one of type long double named ldvar loating point variables can be initialized when they are declared in the s ...