Sujet : Re: Python (was Re: I did not inhale)
De : jameskuyper (at) *nospam* alumni.caltech.edu (James Kuyper)
Groupes : comp.lang.cDate : 18. Aug 2024, 21:08:36
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9tn45$2h3d8$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
User-Agent : Mozilla Thunderbird
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."