Skip to content

Commit 2b2f579

Browse files
authored
[libc][math] fix atan2l build failure. (#151413)
1 parent 7d23323 commit 2b2f579

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/math/generic/atan2l.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace LIBC_NAMESPACE_DECL {
1717
LLVM_LIBC_FUNCTION(long double, atan2l, (long double y, long double x)) {
1818
#if defined(LIBC_TYPES_LONG_DOUBLE_IS_FLOAT64)
1919
return static_cast<long double>(
20-
atan2(static_cast<double>(y), static_cast<double>(x)));
20+
math::atan2(static_cast<double>(y), static_cast<double>(x)));
2121
#else
2222
#error "Extended precision is not yet supported"
2323
#endif

0 commit comments

Comments
 (0)