[Openmp-commits] [openmp] [OpenMP] [test] Skip the -mlong-double-80 test on MSVC ABI (PR #81115)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Thu Feb 15 07:56:57 PST 2024
jhuber6 wrote:
Might be better to check for 64-bit doubles in general since that's present on various targets. But probably not a huge deal overall.
This should do it
```c
#include <float.h>
#if (LDBL_MANT_DIG == 53)
// 64-bit double
#elif (LDBL_MANT_DIG == 64)
// 80-bit double
#else
// 128-bit double
#endif
```
https://github.com/llvm/llvm-project/pull/81115
More information about the Openmp-commits
mailing list