double
suggest changeAn 8-byte floating point type. Its range includes that of float
. When combined with long
, denotes the long double
floating point type, whose range includes that of double
.
double area(double radius) {
const double pi = 3.141592653589793;
return pi*radius*radius;
}
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents