Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: James Kuyper Newsgroups: comp.lang.c Subject: Re: Python (was Re: I did not inhale) Date: Sun, 18 Aug 2024 16:08:36 -0400 Organization: A noiseless patient Spider Lines: 25 Message-ID: References: <20240408075547.000061e8@gmail.com> <20240412094809.811@kylheku.com> <87il0mm94y.fsf@tudado.org> <87il0lldf8.fsf@tudado.org> <20240815182717.189@kylheku.com> <87wmkdd484.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Date: Sun, 18 Aug 2024 22:55:34 +0200 (CEST) Injection-Info: dont-email.me; posting-host="8f64832b161de495e8df9112e6f942cf"; logging-data="2657704"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/uleAyATsqaDsan+C6pd3EFsIhbvYT5WM=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:ipFJEx3CBoig0vOXKdgrQNlkX0A= In-Reply-To: <87wmkdd484.fsf@nosuchdomain.example.com> Content-Language: en-US Bytes: 2308 On 8/18/24 15:24, Keith Thompson wrote: > David Brown 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 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."