View Full Version : what is different types of float are used in c and c++ language?
rajuljain
06-23-2012, 12:47 AM
please explain the different types of flots in c and c++?
AllenSantiago
06-23-2012, 08:16 AM
There are mainly three types of floating point
1) Float: - specifies floating point number and storage size is 4 bytes
2) Double: - specifies Double precision floating point number and storage size is 8 bytes
3) Long double: - specifies long double precision floating point number and storage size is 8 bytes.
rajuljain
06-25-2012, 01:36 AM
but can you expalin in example.
alokverma
06-28-2012, 09:25 AM
There are mainly three types of floating point
1) Float:- specifies floating point number and storage size is 4 bytes
2) Double: - specifies Double precision floating point number and storage size is 8 bytes
3) Long double: - specifies long double precision floating point number and storage size is 8 bytes.
memoonamike
07-18-2012, 02:46 AM
There are mainly three types of floating point
1) Float:- specifies floating point number and storage size is 4 bytes
2) Double: - specifies Double precision floating point number and storage size is 8 bytes
3) Long double: - specifies long double precision floating point number and storage size is 8 bytes.
Thanks for providing such useful information.
Powered by vBulletin® Version 4.2.4 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.