view clang/test/Misc/no-warn-in-system-macro.c.inc @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents 1d019706d866
children
line wrap: on
line source

extern int __isnanf(float f);
extern int __isnan(double f);
extern int __isnanl(long double f);
#define isnan(x) \
	(sizeof (x) == sizeof (float)                \
	? __isnanf (x)                    \
	: sizeof (x) == sizeof (double)               \
	? __isnan (x) : __isnanl (x))