mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
5c6877b02b
The feenableexcept() and fedisableexcept() APIs are now provided which let you detect when NaNs appear the moment it happens from anywhere in your program. Tests have also been added for the mission critical math functions expf() and erff(), whose perfect operation has been assured. See examples/trapping.c to see how to use this powerful functionality.
11 lines
337 B
C
11 lines
337 B
C
#ifndef COSMOPOLITAN_LIBC_COSMO_H_
|
|
#define COSMOPOLITAN_LIBC_COSMO_H_
|
|
COSMOPOLITAN_C_START_
|
|
|
|
errno_t cosmo_once(_Atomic(uint32_t) *, void (*)(void));
|
|
int systemvpe(const char *, char *const[], char *const[]) libcesque;
|
|
char *GetProgramExecutableName(void);
|
|
void unleaf(void);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* COSMOPOLITAN_LIBC_COSMO_H_ */
|