[Ada] Add support for 128-bit integer types to GNAT.Random_Numbers
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 12 Oct 2020 19:12:56 +0000 (21:12 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 25 Nov 2020 13:22:27 +0000 (08:22 -0500)
commit6d88dbdc5e33765ae481b57e5ed027fe1fb2e409
treedc3030c0328a94efea5877768d5e7cb6b21a16e6
parentbbf14e1350d3054e02ac9d83b61b84cc23d2c157
[Ada] Add support for 128-bit integer types to GNAT.Random_Numbers

gcc/ada/

* libgnat/g-rannum.ads (Random): New functions returning 128-bit.
* libgnat/g-rannum.adb (Random): Implement them and alphabetize.
(To_Signed): New unchecked conversion function for 128-bit.
gcc/ada/libgnat/g-rannum.adb
gcc/ada/libgnat/g-rannum.ads