<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/135320>135320</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [libc][math] migrate math tests to ErrnoCheckingTest fixture
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            libc
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          laraabcd
      </td>
    </tr>
</table>

<pre>
    This is issue is related to this [
](https://github.com/llvm/llvm-project/issues/88819)

```
* grep -L "ErrnoCheckingTest" math/*
math/AddTest.h
math/CMakeLists.txt
math/CeilTest.h
math/CopySignTest.h
math/DivTest.h
math/FAbsTest.h
math/FDimTest.h
math/FMaxTest.h
math/FMinTest.h
math/FModTest.h
math/FloorTest.h
math/FmaTest.h
math/FrexpTest.h
math/HypotTest.h
math/ILogbTest.h
math/LdExpTest.h
math/LogbTest.h
math/ModfTest.h
math/MulTest.h
math/NearbyIntTest.h
math/NextAfterTest.h
math/RIntTest.h
math/RemQuoTest.h
math/RoundEvenTest.h
math/RoundTest.h
math/RoundToIntegerTest.h
math/ScalbnTest.h
math/SqrtTest.h
math/SubTest.h
math/TruncTest.h
math/acosf16_test.cpp
math/acosf_test.cpp
math/acoshf16_test.cpp
math/acoshf_test.cpp
math/add_same_type_test.cpp
math/asinf16_test.cpp
math/asinf_test.cpp
math/asinhf16_test.cpp
math/asinhf_test.cpp
math/atan2_test.cpp
math/atan2f128_test.cpp
math/atan2f_test.cpp
math/atan_test.cpp
math/atanf_test.cpp
math/atanhf_test.cpp
math/cbrt_test.cpp
math/cbrtf_test.cpp
math/ceil_test.cpp
math/ceilf16_test.cpp
math/ceilf_test.cpp
math/ceill_test.cpp
math/copysign_test.cpp
math/copysignf_test.cpp
math/copysignl_test.cpp
math/cos_test.cpp
math/cosf16_test.cpp
math/cosf_test.cpp
math/coshf16_test.cpp
math/coshf_test.cpp
math/cospif16_test.cpp
math/cospif_test.cpp
math/daddl_test.cpp
math/ddivl_test.cpp
math/dfmal_test.cpp
math/dmull_test.cpp
math/dsqrtl_test.cpp
math/dsubl_test.cpp
math/erff_test.cpp
grep: math/exhaustive: Is a directory
math/exp10_test.cpp
math/exp10f16_test.cpp
math/exp10f_test.cpp
math/exp10m1f16_test.cpp
math/exp10m1f_test.cpp
math/exp2_test.cpp
math/exp2f16_test.cpp
math/exp2f_test.cpp
math/exp2m1f16_test.cpp
math/exp2m1f_test.cpp
math/exp_test.cpp
math/expf16_test.cpp
math/expf_test.cpp
math/explogxf_test.cpp
math/expm1_test.cpp
math/expm1f16_test.cpp
math/expm1f_test.cpp
math/f16add_test.cpp
math/f16addf_test.cpp
math/f16addl_test.cpp
math/f16div_test.cpp
math/f16divf_test.cpp
math/f16divl_test.cpp
math/f16fma_test.cpp
math/f16fmaf_test.cpp
math/f16fmal_test.cpp
math/f16mul_test.cpp
math/f16mulf_test.cpp
math/f16mull_test.cpp
math/f16sqrt_test.cpp
math/f16sqrtf_test.cpp
math/f16sqrtl_test.cpp
math/f16sub_test.cpp
math/f16subf_test.cpp
math/f16subl_test.cpp
math/fabs_test.cpp
math/fabsf_test.cpp
math/fabsl_test.cpp
math/fadd_test.cpp
math/faddl_test.cpp
math/fdim_test.cpp
math/fdimf_test.cpp
math/fdiml_test.cpp
math/fdiv_test.cpp
math/fdivl_test.cpp
math/ffma_test.cpp
math/ffmal_test.cpp
math/floor_test.cpp
math/floorf16_test.cpp
math/floorf_test.cpp
math/floorl_test.cpp
math/fma_test.cpp
math/fmaf16_test.cpp
math/fmaf_test.cpp
math/fmax_test.cpp
math/fmaxf_test.cpp
math/fmaxl_test.cpp
math/fmin_test.cpp
math/fminf_test.cpp
math/fminl_test.cpp
math/fmod_test.cpp
math/fmodf_test.cpp
math/fmul_test.cpp
math/fmull_test.cpp
math/frexp_test.cpp
math/frexpf_test.cpp
math/frexpl_test.cpp
math/fsqrt_test.cpp
math/fsqrtl_test.cpp
math/fsub_test.cpp
math/fsubl_test.cpp
grep: math/generic: Is a directory
math/generic_sqrt_test.cpp
math/generic_sqrtf_test.cpp
math/generic_sqrtl_test.cpp
math/hypot_test.cpp
math/hypotf16_test.cpp
math/hypotf_hard_to_round.h
math/hypotf_test.cpp
math/ilogb_test.cpp
math/ilogbf_test.cpp
math/ilogbl_test.cpp
math/in_float_range_test_helper.h
math/ldexp_test.cpp
math/ldexpf_test.cpp
math/ldexpl_test.cpp
math/llrint_test.cpp
math/llrintf16_test.cpp
math/llrintf_test.cpp
math/llrintl_test.cpp
math/llround_test.cpp
math/llroundf16_test.cpp
math/llroundf_test.cpp
math/llroundl_test.cpp
math/log10_test.cpp
math/log10f16_test.cpp
math/log10f_test.cpp
math/log1p_test.cpp
math/log1pf_test.cpp
math/log2_test.cpp
math/log2f16_test.cpp
math/log2f_test.cpp
math/log_test.cpp
math/logb_test.cpp
math/logbf_test.cpp
math/logbl_test.cpp
math/logf16_test.cpp
math/logf_test.cpp
math/lrint_test.cpp
math/lrintf16_test.cpp
math/lrintf_test.cpp
math/lrintl_test.cpp
math/lround_test.cpp
math/lroundf16_test.cpp
math/lroundf_test.cpp
math/lroundl_test.cpp
math/modf_test.cpp
math/modff_test.cpp
math/modfl_test.cpp
math/nearbyint_test.cpp
math/nearbyintf16_test.cpp
math/nearbyintf_test.cpp
math/nearbyintl_test.cpp
math/nextafter_test.cpp
math/nextafterf128_test.cpp
math/nextafterf_test.cpp
math/nextafterl_test.cpp
grep: math/performance_testing: Is a directory
math/pow_test.cpp
math/powf_test.cpp
math/remquo_test.cpp
math/remquof_test.cpp
math/remquol_test.cpp
math/rint_test.cpp
math/rintf16_test.cpp
math/rintf_test.cpp
math/rintl_test.cpp
math/round_test.cpp
math/roundeven_test.cpp
math/roundevenf16_test.cpp
math/roundevenf_test.cpp
math/roundevenl_test.cpp
math/roundf16_test.cpp
math/roundf_test.cpp
math/roundl_test.cpp
math/scalbn_test.cpp
math/scalbnf128_test.cpp
math/scalbnf_test.cpp
math/scalbnl_test.cpp
math/sdcomp26094.h
math/sin_test.cpp
math/sincos_test.cpp
math/sincosf_test.cpp
math/sinf16_test.cpp
math/sinf_test.cpp
math/sinhf16_test.cpp
math/sinhf_test.cpp
math/sinpi_tests.cpp
math/sinpif16_test.cpp
math/sinpif_test.cpp
grep: math/smoke: Is a directory
math/sqrt_test.cpp
math/sqrtf128_test.cpp
math/sqrtf16_test.cpp
math/sqrtf_test.cpp
math/sqrtl_test.cpp
math/sub_same_type_test.cpp
math/tan_test.cpp
math/tanf16_test.cpp
math/tanf_test.cpp
math/tanhf16_test.cpp
math/tanhf_test.cpp
math/tanpif16_test.cpp
math/trunc_test.cpp
math/truncf16_test.cpp
math/truncf_test.cpp
math/truncl_test.cpp
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJycWU9v274S_DTyRfgFEv0n9sEHt67xAiQFXtO7QYmUxFdRVEnKtb_9A2k3da0dHX5AgDYz2tkVNUsyJHdO1Z2U22T5KVnuZ3zwjbHbllvOi1LMCiMu2--Ncmn8cYMM_7Gy5V6K1JvUBy4EZ7tkuU_YuvG-d8l8l7BDwg618s1QPJVGJ-zQtqff__zTW_M_WfqEHaKqS9hhvV7nm4RtglS2S1bZ7SfbJWyX1lb26T-vacLYF2s787mR5Q_V1d-l8wljqea-iTlD8O2XnRCBfmr-QJ_f-A_5qpx3T_7s73Cp2tGzpr-8q7p7xPfq9AgddoUbYXulR9gbP48xNUpxeDOj0g-tMXYEaj6CrDz3j-B_Lr3xj-DLq6mLR_BVfBmHUw--GVGNsGE0il8lt8XlpRtl_yrPfld5OXqnb8TD36T-72BGqBk68eUkR-MXCRo0L52X9Tjre8nbYiT0_tOOankfRmPx3Q5d-Qjy0rgqXx19wMu-f2AA3uCQhowR4ui4lkd_6SXFO9UBycAAHFURKYrwvGMIr3K2hhwgAIweJ4sqC-sBTD4uVQtgejQiA3BSyfSXMN9OUKTcjaMlHY2CimnfYdsh15XG9QqG9IqKEVwI6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