https://llvm.org/bugs/show_bug.cgi?id=28738
Bug ID: 28738
Summary: fmod and similar method static_assert on aix
Product: libc++
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
for below code
float fa = 0.8;
float fb = 0.5;
float fr = 0.0;
fr = fmod(fa, fb);
using libc++, there is an static assert on AIX.
#if !(defined(_LIBCPP_MSVCRT) || defined(_AIX))
inline _LIBCPP_INLINE_VISIBILITY float fmod(float __lcpp_x, float
__lcpp_y) _NOEXCEPT \
{return fmodf(__lcpp_x, __lcpp_y);}
inline _LIBCPP_INLINE_VISIBILITY long double fmod(long double __lcpp_x, long
double __lcpp_y) _NOEXC\
EPT {return fmodl(__lcpp_x, __lcpp_y);}
#endif
Why _AIX is kicked out here?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs