Deutsch   English   Français   Italiano  
<v9tn45$2h3d8$1@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: James Kuyper <jameskuyper@alumni.caltech.edu>
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: <v9tn45$2h3d8$1@dont-email.me>
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>
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 <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."