[Ada] Reimplement Ada.Numerics.Big_Numbers.Big_Reals.Fixed_Conversions
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 12 Nov 2020 14:56:00 +0000 (15:56 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 30 Nov 2020 14:16:19 +0000 (09:16 -0500)
commit5a85f3129cc19637c5a2fb4848fe78324c4c1a0c
treeb899a1a9161185890ce792c56cf4c55277a1d27b
parente783561e9c10f84a9a1a23d81bb9510f961c4c61
[Ada] Reimplement Ada.Numerics.Big_Numbers.Big_Reals.Fixed_Conversions

gcc/ada/

* libgnat/a-nbnbre.adb (Float_Conversions): Instantiate Conv
package only once in the body.
(Fixed_Conversions.Float_Aux): New instance.
(Fixed_Conversions.Conv_I): Likewise.
(Fixed_Conversions.Conv_U): Likewise.
(Fixed_Conversions.LLLI): New subtype.
(Fixed_Conversions.LLLU): Likewise.
(Fixed_Conversions.Too_Large): New constant.
(Fixed_Conversions.To_Big_Real): Reimplement.
(Fixed_Conversions.From_Big_Real): Likewise.
gcc/ada/libgnat/a-nbnbre.adb