Deutsch English Français Italiano |
<vfjj4h$3s32a$2@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: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.lang.fortran Subject: Re: Is there a way in Fortran to designate an integer value as integer*8 ? Date: Sat, 26 Oct 2024 20:23:45 -0000 (UTC) Organization: A noiseless patient Spider Lines: 12 Message-ID: <vfjj4h$3s32a$2@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> <vfcpei$2hhb3$1@dont-email.me> <vfhggd$3digo$1@dont-email.me> <vfil4e$3n2b6$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 26 Oct 2024 22:23:45 +0200 (CEST) Injection-Info: dont-email.me; posting-host="5c6e5cf9254ac19034265e59688edf8f"; logging-data="4066378"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GVJA9IqzBC9+6AoLYla9P" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:60uDpnNK+MbFaTd9zJaUTP1YHVI= Bytes: 2332 On Sat, 26 Oct 2024 11:51:42 -0000 (UTC), Thomas Koenig wrote: > The "parameter adjustment" above is explicitly listed as undefined > behavior, in annex J2 of n2596.pdf (for example): > > "Addition or subtraction of a pointer into, or just beyond, an array > object and an integer type produces a result that does not point into, > or just beyond, the same array object (6.5.6)." Read it again: note the qualification “that does not point into, or just beyond, the same array object”. So long as it *does* point “into, or just beyond, the same array object”, it is fine.