[libc] Add bazel definition for hypot/hypotf.

Patch by Clint Caywood.

Differential Revision: https://reviews.llvm.org/D118053
This commit is contained in:
Clint Caywood 2022-01-24 09:40:38 -08:00 committed by Jordan Rupprecht
parent 11cea7e5ce
commit 57eb5033cd
1 changed files with 5 additions and 0 deletions

View File

@ -75,6 +75,7 @@ fputil_common_hdrs = [
"src/__support/FPUtil/FEnvUtils.h",
"src/__support/FPUtil/FPBits.h",
"src/__support/FPUtil/FloatProperties.h",
"src/__support/FPUtil/Hypot.h",
"src/__support/FPUtil/ManipulationFunctions.h",
"src/__support/FPUtil/NearestIntegerOperations.h",
"src/__support/FPUtil/NormalFloat.h",
@ -371,6 +372,10 @@ libc_math_function(name = "frexpf")
libc_math_function(name = "frexpl")
libc_math_function(name = "hypot")
libc_math_function(name = "hypotf")
libc_math_function(name = "logb")
libc_math_function(name = "logbf")