It is a wee bit more complicated than that.
The only predefined floating-point type that compilers have to support is Float
. Compilers may optionally support Short_Float
and Long_Float
. You should be able to look in appendex F of your compiler documentation to see what it supports.
In practice, your compiler almost certianly defines Float
as a 32-bit IEEE float, and Long_Float
as a 64-bit. Note that C pretty much works this way too with its float
and double
. C doesn't actually define the size of those.
If you absolutely must have a certian precision (eg: you are sharing the data with something external that must use IEEE 64-bit), then you should probably define your own float type with exactly that precision. That would ensure your code is either portable to any platform or compiler you move it to, or that it will produce a compiler error so you can fix the issue.