Add generic sqrt root headers to libc sqrt specializations (#135237)

This header is needed to provide the declaration for the sqrt template.
You can build without these in the CMake build, but not having this
include in the architecture specific headers makes them not self
contained.
This commit is contained in:
Drew Lewis 2025-04-10 15:04:41 -04:00 committed by GitHub
parent 9c31155ead
commit d07a2164e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,8 @@
#error "Invalid include"
#endif
#include "src/__support/FPUtil/generic/sqrt.h"
namespace LIBC_NAMESPACE_DECL {
namespace fputil {

View File

@ -18,6 +18,8 @@
#error "Invalid include"
#endif
#include "src/__support/FPUtil/generic/sqrt.h"
namespace LIBC_NAMESPACE_DECL {
namespace fputil {

View File

@ -18,6 +18,8 @@
#error "Invalid include"
#endif
#include "src/__support/FPUtil/generic/sqrt.h"
namespace LIBC_NAMESPACE_DECL {
namespace fputil {

View File

@ -18,6 +18,8 @@
#error "sqrtss / sqrtsd need SSE2"
#endif
#include "src/__support/FPUtil/generic/sqrt.h"
namespace LIBC_NAMESPACE_DECL {
namespace fputil {