| Deutsch English Français Italiano |
|
<v8p3qf$9ptm$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk> Newsgroups: comp.os.vms Subject: Re: Simple Pascal question Date: Sun, 4 Aug 2024 19:45:19 -0400 Organization: A noiseless patient Spider Lines: 23 Message-ID: <v8p3qf$9ptm$2@dont-email.me> References: <v8goeh$2b5op$1@dont-email.me> <v8hn3m$3aviu$1@gwaiyur.mb-net.net> <v8lpj0$ems$1@panix2.panix.com> <0be1217156997a373bd93a731d67a938adb4dc55@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 05 Aug 2024 01:45:19 +0200 (CEST) Injection-Info: dont-email.me; posting-host="59342297adf5c5ebfa2d4ee831cf7b5b"; logging-data="321462"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19E3eFfnDv94N4rROQY74D2hCyDD0Wg5Ho=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:iVr7dm4nKxCkCs5e9IeS/q5qW+s= In-Reply-To: <0be1217156997a373bd93a731d67a938adb4dc55@i2pn2.org> Content-Language: en-US Bytes: 1837 On 8/4/2024 5:53 PM, John Reagan wrote: > Why didn't I do this? > > I did think about it, but what about more complicated expression. > > x := 1.5 * 1.5; > > Is that multiply an IEEE S_float multiply or VAX F_float multiply? > Logically, it would have been an IEEE S_float multiply and then > converted to VAX F_float. I didn't think it was a problem that needed > to be solved. I was sort of expecting literals to be of the type determined by suffix and compiler switch and that mixed expressions would be converted similar to various other mixed expressions. That was not the case. Probably not worth spending time on "fixing". It must be an extremely rare case. Arne