Mercurial > hg > CbC > CbC_gcc
diff gcc/ada/libgnat/a-ngelfu.ads @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
line wrap: on
line diff
--- a/gcc/ada/libgnat/a-ngelfu.ads Fri Oct 27 22:46:09 2017 +0900 +++ b/gcc/ada/libgnat/a-ngelfu.ads Thu Oct 25 07:37:49 2018 +0900 @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 2012-2017, Free Software Foundation, Inc. -- +-- Copyright (C) 2012-2018, Free Software Foundation, Inc. -- -- -- -- This specification is derived from the Ada Reference Manual for use with -- -- GNAT. The copyright notice above, and the license provisions that follow -- @@ -196,10 +196,10 @@ and then (if X = 1.0 then Arccosh'Result = 0.0); function Arctanh (X : Float_Type'Base) return Float_Type'Base with - Pre => abs X /= 1.0, + Pre => abs X < 1.0, Post => (if X = 0.0 then Arctanh'Result = 0.0); function Arccoth (X : Float_Type'Base) return Float_Type'Base with - Pre => X <= 1.0 and abs X /= 1.0; + Pre => abs X > 1.0; end Ada.Numerics.Generic_Elementary_Functions;