This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Proposal


Neil Booth wrote:

> Kevin Handy wrote:-

> > Another option for this that I'd prefer would be to write
> >
> > #define MY_MERGE_3(a,b,c) (a*1000000 + b*1000 + c)
> > #define MILLION   MY_MERGE_3(1,000,000)

> Careful, those are octal numbers 8-)

How about using Fortran ?

      PRINT*, 1 000 000
      END

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]