The
floating point types in C++ are :
float , double , and long double .
They are fundamental types , as such they have a mapping to the hardware of a computing machine , so they are as fast , as the machine is capable of performing the computation .
The
floating point types in C++ , are
used to represent numbers
which can
possibly have a fractional part . For example
1 or 1.2 .
The C++ standard , does not specify , the floating point algorithm to be used , this is left to the implementation , but what is typically used , by all implementations , is the IEEE floating point format.
