[PATCH 4/14] [LoongArch] Generic math.h and soft fp Routines
Joseph Myers
joseph@codesourcery.com
Thu Aug 19 16:42:02 GMT 2021
On Thu, 19 Aug 2021, Paul Hua via Libc-alpha wrote:
> +enum
> +{
> + FE_INEXACT =
> +#define FE_INEXACT 0x010000
> + FE_INEXACT,
> + FE_UNDERFLOW =
> +#define FE_UNDERFLOW 0x020000
> + FE_UNDERFLOW,
> + FE_OVERFLOW =
> +#define FE_OVERFLOW 0x040000
> + FE_OVERFLOW,
> + FE_DIVBYZERO =
> +#define FE_DIVBYZERO 0x080000
> + FE_DIVBYZERO,
> + FE_INVALID =
> +#define FE_INVALID 0x100000
> + FE_INVALID,
> +};
Installed glibc headers should avoid a trailing comma at the end of an
enum definition, to stay compatible with C90 and C++03 (I don't think such
a trailing comma is one of the newer features we require compilers to
support to use glibc headers, unlike long long).
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list