1,238 changes: 1,238 additions & 0 deletions libc/test/src/math/hypotf_hard_to_round.h

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions libc/test/src/math/hypotf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//===----------------------------------------------------------------------===//

#include "HypotTest.h"
#include "hypotf_hard_to_round.h"

#include "src/math/hypotf.h"

Expand All @@ -23,3 +24,7 @@ TEST_F(LlvmLibcHypotfTest, SubnormalRange) {
TEST_F(LlvmLibcHypotfTest, NormalRange) {
test_normal_range(&__llvm_libc::hypotf);
}

TEST_F(LlvmLibcHypotfTest, TrickyInputs) {
test_input_list(&__llvm_libc::hypotf, N_HARD_TO_ROUND, HYPOTF_HARD_TO_ROUND);
}