diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2020-09-18 09:04:12 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-10-26 04:59:10 -0400 |
commit | 4ab5d8c17b7b8ca792979997fb3a13b2c9eeba8b (patch) | |
tree | ac6961747fe888cc1c07adc67581efda734bff76 /gcc/ada/doc | |
parent | 4d4a3fb738ea6a06bad492168141e8bfd1788d43 (diff) | |
download | gcc-4ab5d8c17b7b8ca792979997fb3a13b2c9eeba8b.zip gcc-4ab5d8c17b7b8ca792979997fb3a13b2c9eeba8b.tar.gz gcc-4ab5d8c17b7b8ca792979997fb3a13b2c9eeba8b.tar.bz2 |
[Ada] Document characteristics of ordinary fixed point types
gcc/ada/
* doc/gnat_rm/implementation_defined_characteristics.rst: Adjust
the entries of 3.5.9(8) and 3.5.9(10).
* gnat_rm.texi: Regenerate.
Diffstat (limited to 'gcc/ada/doc')
-rw-r--r-- | gcc/ada/doc/gnat_rm/implementation_defined_characteristics.rst | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gcc/ada/doc/gnat_rm/implementation_defined_characteristics.rst b/gcc/ada/doc/gnat_rm/implementation_defined_characteristics.rst index 71e1834..3174825 100644 --- a/gcc/ada/doc/gnat_rm/implementation_defined_characteristics.rst +++ b/gcc/ada/doc/gnat_rm/implementation_defined_characteristics.rst @@ -147,18 +147,19 @@ Type Representation * "The small of an ordinary fixed point type. See 3.5.9(8)." -``Fine_Delta`` is 2**(-63) +The small is the largest power of two that does not exceed the delta. * "What combinations of small, range, and digits are supported for fixed point types. See 3.5.9(10)." -Any combinations are permitted that do not result in a small less than -``Fine_Delta`` and do not result in a mantissa larger than 63 bits. -If the mantissa is larger than 53 bits on machines where Long_Long_Float -is 64 bits (true of all architectures except x86), then the output from -Text_IO is accurate to only 53 bits, rather than the full mantissa. This -is because floating-point conversions are used to convert fixed point. +For an ordinary fixed point type, the small must lie in 2**(-80) .. 2**80 +and the range in -10.0**36 .. 10.0**36; any combination is permitted that +does not result in a mantissa larger than 63 bits. However, if the mantissa +is larger than 53 bits on machines where Long_Long_Float is 64 bits (true +of all architectures except x86), then the output from Text_IO may be +accurate to only 53 bits, rather than the full mantissa. This is because +floating-point conversions may be used to convert fixed point. * |