| Deutsch English Français Italiano |
|
<878qwqdf2w.fsf@nosuchdomain.example.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Keith Thompson <Keith.S.Thompson+u@gmail.com>
Newsgroups: comp.unix.programmer
Subject: Re: Python (was Re: I did not inhale)
Date: Tue, 20 Aug 2024 15:06:31 -0700
Organization: None to speak of
Lines: 48
Message-ID: <878qwqdf2w.fsf@nosuchdomain.example.com>
References: <uu54la$3su5b$6@dont-email.me> <20240408075547.000061e8@gmail.com>
<g52cnWOOwoz_son7nZ2dnZfqnPWdnZ2d@brightview.co.uk>
<uvbe3m$2cun7$1@dont-email.me> <uvbfii$3mom0$1@news.xmission.com>
<20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org>
<way-20240413091747@ram.dialup.fu-berlin.de>
<87il0lldf8.fsf@tudado.org>
<choices-20240413123957@ram.dialup.fu-berlin.de>
<v9lm2k$12qhv$1@dont-email.me> <v9m4gd$14scu$1@dont-email.me>
<20240815182717.189@kylheku.com> <v9npls$1fjus$1@dont-email.me>
<v9t204$2dofg$1@dont-email.me>
<87wmkdd484.fsf@nosuchdomain.example.com>
<va2ak7$3du9m$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Wed, 21 Aug 2024 00:06:31 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="7a2cb821a5a9c1554a17483648fb73a0";
logging-data="3716861"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JjFPEo3muLJLK3BqtD//f"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:dGV+ilvtxThzvD+khrMnYKs0pUc=
sha1:KYLdWRiDWTOVxWqdENakv5pzQcI=
Bytes: 3046
James Kuyper <jameskuyper@alumni.caltech.edu> writes:
> I originally posted this a couple of days ago, to the wrong newsgroup.
> Sorry.
>
> On 8/18/24 15:24, Keith Thompson wrote:
>> David Brown <david.brown@hesbynett.no> writes:
>> [...]
>>> Without looking it up, what does the C standard library "fegetmode"
>>> function do?
>>
>> Nothing, it's specific to GNU libc.
>
> ? It's in every draft version of the C standard that I have since
> n2346.pdf, dated 2019-03-13. In the latest draft I have, n3096.pdf, it
> is described as follows:
>
> 7.6.5.1
> "The fegetmode function
> Synopsis
> #include <fenv.h>
> int fegetmode(femode_t *modep);
>
> Description
> The fegetmode function attempts to store all the dynamic floating-point
> control modes in the object pointed to by modep.
>
> Returns
> The fegetmode function returns zero if the modes were successfully
> stored. Otherwise, it returns a nonzero value."
Copying what I posted to comp.lang.c :
You're right. It's not in C11 or C17, but it is in the C23 drafts.
My mistake.
....
The earliest reference I can find to fegetmode is in n2314,
"Floating-point extensions for C", 2018-11-12. The earliest draft
standard that refers to it is n2346, 2019-03-13.
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2314.pdf
https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2346.pdf
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */