Deutsch English Français Italiano |
<vfcpei$2hhb3$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Thomas Koenig <tkoenig@netcologne.de> Newsgroups: comp.lang.fortran Subject: Re: Is there a way in Fortran to designate an integer value as integer*8 ? Date: Thu, 24 Oct 2024 06:28:34 -0000 (UTC) Organization: A noiseless patient Spider Lines: 23 Message-ID: <vfcpei$2hhb3$1@dont-email.me> References: <vdict2$339ak$1@dont-email.me> <vdir24$35104$1@dont-email.me> <vdk718$3bulb$1@dont-email.me> <vdl6fi$3jra3$2@dont-email.me> <vdlfpl$3l0f5$1@dont-email.me> <vdmbml$3p2dv$1@dont-email.me> <vdmrgc$3rih7$2@dont-email.me> <vdn4kp$3ssv4$9@dont-email.me> <vdn4ul$3t78e$3@dont-email.me> <vdn659$3ssv4$18@dont-email.me> <vdnrr9$3qrq$1@dont-email.me> <vdnvgh$49ai$1@dont-email.me> <vdqe7n$kqq0$1@dont-email.me> <vdqmue$lo51$11@dont-email.me> <vds64m$sj9s$1@dont-email.me> <vf2507$9mo4$2@dont-email.me> <vf4mbh$qfqu$1@dont-email.me> <vf4pi2$qsfn$1@dont-email.me> <vf7but$1blh6$1@dont-email.me> <vf98hi$1lsqn$2@dont-email.me> <vfbgtf$25j82$1@dont-email.me> <vfbno9$28v56$3@dont-email.me> <vfbqt2$29fb2$1@dont-email.me> Injection-Date: Thu, 24 Oct 2024 08:28:34 +0200 (CEST) Injection-Info: dont-email.me; posting-host="eb4965a42145afd21a44e8e727af86f9"; logging-data="2671971"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/92jG4YRXW0p9k+2xYVv7qrvq+hx/uD/s=" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:aGSTsKL+I+RqQNs0VqoX6AAn1w8= Bytes: 2368 Lynn McGuire <lynnmcguire5@gmail.com> schrieb: > I am going to change all the F77 code to C++ some day. I already have a > heavily modified version of F2C that I have rewritten extensively and > already moved several hundred subroutines from F77 to C++. Modern Fortran might be the easier way, because a change can be done incrementally, and this... > The biggest > problem is the F77 write statements. .... would not be an issue. What features is modern Fortran missing that you need C++ for? > F2C fixes the other big problem > automatically, the change of initial array index from one to zero. If I remember correctly, it does so by issueing invalid C (or C++), by using negative offsets from pointers. Might work now, might not work tomorrow. But note the IIRC above.