Deutsch   English   Français   Italiano  
<vfm9nj$jekn$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,comp.lang.c
Subject: Re: Is there a way in Fortran to designate an integer value as
 integer*8 ?
Date: Sun, 27 Oct 2024 21:01:40 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <vfm9nj$jekn$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>
	<vfjj4h$3s32a$2@dont-email.me> <vfjngu$3spno$1@dont-email.me>
	<vfk6im$3utgd$2@dont-email.me> <vfks8r$6vrt$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 27 Oct 2024 22:01:40 +0100 (CET)
Injection-Info: dont-email.me; posting-host="4f190434f24fb4ba42078e50c2625044";
	logging-data="637591"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19JLBeInUjV7t2MUUO1oMAu"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:MvXV3WVz/N1nMvnc8+Ux0SUmRS0=
Bytes: 2961

On Sun, 27 Oct 2024 08:05:47 -0000 (UTC), Thomas Koenig wrote:

> Lawrence D'Oliveiro <ldo@nz.invalid> schrieb:
>>
>> On Sat, 26 Oct 2024 21:38:38 -0000 (UTC), Thomas Koenig wrote:
>>
>>> Lawrence D'Oliveiro <ldo@nz.invalid> schrieb:
>>>
>>>> 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.
>>> 
>>> What you are writing is equivalent to
>>
>> You don’t understand what pointer arithmetic means, do you?

Hey, look! Somebody who doesn’t understand how pointer arithmetic works!