------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-05-03 14:39 ------- > __builtin_isnan is type-generic and functionally so, unlike > __builtin_signbit which isn't although it should be and __builtin_isinf > which tries to be type-generic and is broken in doing so (bug 20558).
2 more questions: 1. Can we work around bug 20558 by using the sizeof trick for isinf? 2. Can we use __builtin_finite for isfinite? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19933