We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43c6623 commit 9b9fabaCopy full SHA for 9b9faba
libc/src/math/generic/hypotf.cpp
@@ -67,7 +67,7 @@ LLVM_LIBC_FUNCTION(float, hypotf, (float x, float y)) {
67
}
68
69
70
- return result.get_val();
+ return static_cast<float>(result.get_val());
71
72
73
} // namespace LIBC_NAMESPACE
0 commit comments