Electrical and Computer Engineering
2 of 48
UAH
CPE 112
More Numeric Types
•Floating-Point Types
–float, double, long double
–Floating-point types are used to represent real numbers and have both integer and fractional parts. They can also have exponents.
–
–float
–double
–long double