projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
781fb9a
)
[Ada] Add the remark concerning the use of Image_Ordinary_Fixed_Point
author
Liaiss Merzougue
<merzougue@adacore.com>
Fri, 30 Oct 2020 08:19:09 +0000
(08:19 +0000)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Thu, 26 Nov 2020 08:39:58 +0000
(
03:39
-0500)
gcc/ada/
* libgnat/s-imgrea.ads (Image_Ordinary_Fixed_Point): Add a
remark concerning the irrelevant use of Inf and -0.0
gcc/ada/libgnat/s-imgrea.ads
patch
|
blob
|
history
diff --git
a/gcc/ada/libgnat/s-imgrea.ads
b/gcc/ada/libgnat/s-imgrea.ads
index 565666a483c00d25639906b166b20f6aff86c24d..d8eb721b62aa3095503256b8dd2e4b887082c555 100644
(file)
--- a/
gcc/ada/libgnat/s-imgrea.ads
+++ b/
gcc/ada/libgnat/s-imgrea.ads
@@
-46,6
+46,9
@@
package System.Img_Real is
-- ordinary fixed point (see package System.Img_Dec for handling of decimal
-- fixed point). The caller guarantees that S is long enough to hold the
-- result and has a lower bound of 1.
+ --
+ -- Remark: This procedure should NOT be called with V = -0.0 or V = +/-Inf,
+ -- The result is irrelevant.
procedure Image_Floating_Point
(V : Long_Long_Float;