Sujet : Upcoming gfortran 15 will contain unsigned numbers
De : tkoenig (at) *nospam* netcologne.de (Thomas Koenig)
Groupes : comp.lang.fortranDate : 13. Oct 2024, 10:52:15
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <veg58f$kb8e$1@dont-email.me>
User-Agent : slrn/1.0.3 (Linux)
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.htmlTest 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