No, an IEEE 754 double-precision floating point number is always 64 bits. Similarly, a single-precision float
is always 32 bits.
If your question is about C# and/or .NET specifically (as your tag would indicate), all of the data type sizes are fixed, independent of your system architecture. This is the same as Java, but different from C and C++ where type sizes do vary from platform to platform.
It is common for the integral types to have different sizes on different architectures in C and C++. For instance, int
was 16 bits wide in 16-bit DOS and 32 bits wide in Win32. However, the IEEE 754 standard is so ubiquitous for floating-point computation that the sizes of float
and double
do not vary on any system you will find in the real world–20 years ago double
was 64 bits and so it is today.