math.h: Use logical operations instead of bit operations for readability

Trivial.

Reported-by: Roman Lebedev <lebedev.ri@gmail.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 323920
This commit is contained in:
Jan Vesely 2018-01-31 21:53:42 +00:00
parent ffd2df0e33
commit a75677c2b7

View File

@ -31,7 +31,7 @@
#define PNOR 0x100
#define PINF 0x200
#if (defined __AMDGCN__ | defined __R600__) & !defined __HAS_FMAF__
#if (defined __AMDGCN__ || defined __R600__) && !defined __HAS_FMAF__
#define HAVE_HW_FMA32() (0)
#else
#define HAVE_HW_FMA32() (1)