Path: ...!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Thomas Koenig Newsgroups: comp.lang.fortran Subject: Upcoming gfortran 15 will contain unsigned numbers Date: Sun, 13 Oct 2024 09:52:15 -0000 (UTC) Organization: A noiseless patient Spider Lines: 28 Message-ID: Injection-Date: Sun, 13 Oct 2024 11:52:16 +0200 (CEST) Injection-Info: dont-email.me; posting-host="5313b0390ceae2eaf8e2c89840e9a3fa"; logging-data="666894"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2Zw5siRw57GT6kpXngAGuG6Zii0XeXzM=" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:uj93NlJxSIks8W65nXAXZiyYXKw= Bytes: 1735 Hello world, J3 has passed https://j3-fortran.org/doc/year/24/24-116.txt , a proposal for unsigned numbers in Fortran, in their February/March meeting. Gfortran 15, to be released in the beginning of 2025, will contain an experimental implementation of that proposal. The current development version already has that documentation, so if you are so inclined, you can download and compile it for yourself to try it out already. This feature can be accessed by using the -funsigned flag. Some short documentation can be found at https://gcc.gnu.org/onlinedocs/gfortran/Unsigned-integers.html Test cases (also doubling as use examples) can be found at https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=gcc/testsuite/gfortran.dg (any file that has "unsigned" in its name). Bug reports and comments are welcome. Enjoy! Best regards Thomas