[Ada] AI12-0208 Support for Ada.Numerics.Big_Numbers.Big_Integers and Big_Reals
authorArnaud Charlet <charlet@adacore.com>
Mon, 16 Dec 2019 10:33:36 +0000 (10:33 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Mon, 16 Dec 2019 10:33:36 +0000 (10:33 +0000)
commitf17f5647c5ed92a114f23d1f92f6bb3d7815bf87
tree020615e1cc1c3ab8ffb2972b543313d503fb9025
parenta4ada47ed008c7a14b24221107c2ece7af934a8b
[Ada] AI12-0208 Support for Ada.Numerics.Big_Numbers.Big_Integers and Big_Reals

2019-12-16  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* impunit.adb: Add a-nbnbin, a-nbnbre, a-nubinu to Ada 2020
units.
* Makefile.rtl: Enable new file.
* libgnat/a-nbnbin.adb, libgnat/a-nbnbin.ads,
libgnat/a-nbnbre.adb, libgnat/a-nbnbre.ads,
libgnat/a-nubinu.ads: New files. Provide default standalone
implementation of Ada.Numerics.Big_Numbers.Big_* based on
System.Generic_Bignum.
* libgnat/a-nbnbin__gmp.adb: Alternate implementation of
Ada.Numerics.Big_Numbers.Big_Integers based on GMP. Not enabled
for now.
* libgnat/s-bignum.ads, libgnat/s-bignum.adb: Now a simple
wrapper on top of s-genbig.ads.
* libgnat/s-genbig.ads, libgnat/s-genbig.adb: New files, making
s-bignum generic for reuse in Ada.Numerics.Big_Numbers.

From-SVN: r279418
13 files changed:
gcc/ada/ChangeLog
gcc/ada/Makefile.rtl
gcc/ada/impunit.adb
gcc/ada/libgnat/a-nbnbin.adb [new file with mode: 0644]
gcc/ada/libgnat/a-nbnbin.ads [new file with mode: 0644]
gcc/ada/libgnat/a-nbnbin__gmp.adb [new file with mode: 0644]
gcc/ada/libgnat/a-nbnbre.adb [new file with mode: 0644]
gcc/ada/libgnat/a-nbnbre.ads [new file with mode: 0644]
gcc/ada/libgnat/a-nubinu.ads [new file with mode: 0644]
gcc/ada/libgnat/s-bignum.adb
gcc/ada/libgnat/s-bignum.ads
gcc/ada/libgnat/s-genbig.adb [new file with mode: 0644]
gcc/ada/libgnat/s-genbig.ads [new file with mode: 0644]