]> Savannah Git Hosting - gnulib.git/commit
isnanf, isnanl, isnan: Don't use nonexistent builtins with clang.
authorBruno Haible <bruno@clisp.org>
Sat, 23 May 2020 19:17:22 +0000 (21:17 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 23 May 2020 19:17:22 +0000 (21:17 +0200)
commit665e4118cbfc611e1e9b1767f0817a5903e29e8b
tree123fed9d199763e779bb03c891014ecac875bc6c
parent3cf2dc197941c8a162c338de008450a95a5bcc38
isnanf, isnanl, isnan: Don't use nonexistent builtins with clang.

* m4/isnanf.m4 (gl_HAVE_ISNANF_NO_LIBM, gl_HAVE_ISNANF_IN_LIBM,
gl_ISNANF_WORKS): Don't use __builtin_isnanf on clang versions that
don't have it.
* m4/isnanl.m4 (gl_HAVE_ISNANL_NO_LIBM, gl_HAVE_ISNANL_IN_LIBM,
gl_FUNC_ISNANL_WORKS): Don't use __builtin_isnanl on clang versions that
don't have it.
* lib/isnanf-nolibm.h (__has_builtin): New macro.
(isnanf): Don't use __builtin_isnanf on clang versions that don't have
it.
* lib/isnanl-nolibm.h (__has_builtin): New macro.
(isnanl): Don't use __builtin_isnanl on clang versions that don't have
it.
* lib/math.in.h (__has_builtin): New macro.
(isnanf): Don't use __builtin_isnanf on clang versions that don't have
it.
(isnanl): Don't use __builtin_isnanl on clang versions that don't have
it.
(isnan): Don't use the builtins on clang versions that don't have
__builtin_isnanf and __builtin_isnanl.
ChangeLog
lib/isnanf-nolibm.h
lib/isnanl-nolibm.h
lib/math.in.h
m4/isnanf.m4
m4/isnanl.m4