[Ada] AI12-0144 Make Discrete_Random more flexible

Pierre-Marie de Rodat derodat@adacore.com
Fri Jun 5 12:23:38 GMT 2020


A new version of Random is provided to provide more flexibility on the
range of values returned, see the Ada AI for more details.

Tested on x86_64-pc-linux-gnu, committed on trunk

2020-06-05  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

	* libgnat/a-nudira.ads, libgnat/a-nudira.adb (Random): New
	function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-diff
Size: 988 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200605/e1598412/attachment.bin>


More information about the Gcc-patches mailing list