llvm-project/libc/test/shared/CMakeLists.txt
Zorojuro 7d7cd745af
[libc][math][c23] Add atanbf16 function (#184019)
This PR intends to add atanbf16 higher math function for BFloat16 type
along with the tests.
2026-03-21 11:09:11 -04:00

258 lines
9.0 KiB
CMake

add_custom_target(libc-shared-tests)
add_fp_unittest(
shared_math_test
SUITE
libc-shared-tests
SRCS
shared_math_test.cpp
DEPENDS
libc.src.__support.FPUtil.fp_bits
libc.src.__support.math.acos
libc.src.__support.math.acosf
libc.src.__support.math.acosf16
libc.src.__support.math.acoshf
libc.src.__support.math.acoshf16
libc.src.__support.math.acospif
libc.src.__support.math.acospif16
libc.src.__support.math.asin
libc.src.__support.math.asinf
libc.src.__support.math.asinf16
libc.src.__support.math.asinhf
libc.src.__support.math.asinhf16
libc.src.__support.math.asinpif
libc.src.__support.math.asinpif16
libc.src.__support.math.atan
libc.src.__support.math.atan2
libc.src.__support.math.atan2f
libc.src.__support.math.atan2f128
libc.src.__support.math.atan2f16
libc.src.__support.math.atanbf16
libc.src.__support.math.atanf
libc.src.__support.math.atanf16
libc.src.__support.math.atanhf
libc.src.__support.math.atanhf16
libc.src.__support.math.atanpif16
libc.src.__support.math.bf16add
libc.src.__support.math.bf16addf
libc.src.__support.math.bf16addl
libc.src.__support.math.bf16addf128
libc.src.__support.math.bf16div
libc.src.__support.math.bf16divf
libc.src.__support.math.bf16divf128
libc.src.__support.math.bf16divl
libc.src.__support.math.bf16fma
libc.src.__support.math.bf16fmaf
libc.src.__support.math.bf16fmaf128
libc.src.__support.math.bf16fmal
libc.src.__support.math.bf16mul
libc.src.__support.math.bf16mulf
libc.src.__support.math.bf16mulf128
libc.src.__support.math.bf16mull
libc.src.__support.math.bf16sub
libc.src.__support.math.bf16subf
libc.src.__support.math.bf16subf128
libc.src.__support.math.canonicalize
libc.src.__support.math.canonicalizebf16
libc.src.__support.math.canonicalizef
libc.src.__support.math.canonicalizef128
libc.src.__support.math.canonicalizef16
libc.src.__support.math.canonicalizel
libc.src.__support.math.cbrt
libc.src.__support.math.cbrtf
libc.src.__support.math.ceil
libc.src.__support.math.ceilbf16
libc.src.__support.math.ceilf
libc.src.__support.math.ceilf128
libc.src.__support.math.ceilf16
libc.src.__support.math.ceill
libc.src.__support.math.cos
libc.src.__support.math.cosf
libc.src.__support.math.cosf16
libc.src.__support.math.coshf
libc.src.__support.math.coshf16
libc.src.__support.math.cospif
libc.src.__support.math.cospif16
libc.src.__support.math.daddf128
libc.src.__support.math.daddl
libc.src.__support.math.dfmaf128
libc.src.__support.math.dfmal
libc.src.__support.math.dsqrtl
libc.src.__support.math.exp10m1f
libc.src.__support.math.exp10m1f16
libc.src.__support.math.erff
libc.src.__support.math.erff16
libc.src.__support.math.exp
libc.src.__support.math.exp2
libc.src.__support.math.exp2f
libc.src.__support.math.exp2f16
libc.src.__support.math.exp2m1f
libc.src.__support.math.exp2m1f16
libc.src.__support.math.expm1
libc.src.__support.math.expm1f
libc.src.__support.math.expm1f16
libc.src.__support.math.exp10
libc.src.__support.math.exp10f
libc.src.__support.math.exp10f16
libc.src.__support.math.expf
libc.src.__support.math.expf16
libc.src.__support.math.f16add
libc.src.__support.math.f16addf
libc.src.__support.math.f16addf128
libc.src.__support.math.f16addl
libc.src.__support.math.f16div
libc.src.__support.math.f16divf
libc.src.__support.math.f16divf128
libc.src.__support.math.f16divl
libc.src.__support.math.f16fma
libc.src.__support.math.f16fmaf
libc.src.__support.math.f16fmaf128
libc.src.__support.math.f16fmal
libc.src.__support.math.f16mul
libc.src.__support.math.f16mulf
libc.src.__support.math.f16mulf128
libc.src.__support.math.f16mull
libc.src.__support.math.f16sqrt
libc.src.__support.math.f16sqrtf
libc.src.__support.math.f16sqrtf128
libc.src.__support.math.f16sqrtl
libc.src.__support.math.f16sub
libc.src.__support.math.f16subf
libc.src.__support.math.f16subf128
libc.src.__support.math.f16subl
libc.src.__support.math.fadd
libc.src.__support.math.faddf128
libc.src.__support.math.faddl
libc.src.__support.math.fdim
libc.src.__support.math.fdimbf16
libc.src.__support.math.fdimf
libc.src.__support.math.fdimf128
libc.src.__support.math.fdimf16
libc.src.__support.math.fdiml
libc.src.__support.math.ffma
libc.src.__support.math.ffmaf128
libc.src.__support.math.ffmal
libc.src.__support.math.floor
libc.src.__support.math.floorbf16
libc.src.__support.math.floorf
libc.src.__support.math.floorf128
libc.src.__support.math.floorf16
libc.src.__support.math.floorl
libc.src.__support.math.fma
libc.src.__support.math.fmaf
libc.src.__support.math.fmaf16
libc.src.__support.math.fmabf16
libc.src.__support.math.fmax
libc.src.__support.math.fmaxbf16
libc.src.__support.math.fmaxf
libc.src.__support.math.fmaxf128
libc.src.__support.math.fmaxf16
libc.src.__support.math.fmaxl
libc.src.__support.math.frexpf
libc.src.__support.math.frexpf128
libc.src.__support.math.frexpf16
libc.src.__support.math.fsqrt
libc.src.__support.math.fsqrtf128
libc.src.__support.math.fsqrtl
libc.src.__support.math.getpayload
libc.src.__support.math.getpayloadbf16
libc.src.__support.math.getpayloadf
libc.src.__support.math.getpayloadf128
libc.src.__support.math.getpayloadf16
libc.src.__support.math.getpayloadl
libc.src.__support.math.hypot
libc.src.__support.math.hypotf
libc.src.__support.math.hypotbf16
libc.src.__support.math.hypotf16
libc.src.__support.math.ilogb
libc.src.__support.math.ilogbf
libc.src.__support.math.ilogbf16
libc.src.__support.math.ilogbf128
libc.src.__support.math.ilogbl
libc.src.__support.math.ldexpf
libc.src.__support.math.llogb
libc.src.__support.math.log
libc.src.__support.math.log10
libc.src.__support.math.log10f16
libc.src.__support.math.log10f
libc.src.__support.math.log1p
libc.src.__support.math.log1pf
libc.src.__support.math.log2
libc.src.__support.math.logb
libc.src.__support.math.log2f
libc.src.__support.math.log2f16
libc.src.__support.math.logbf
libc.src.__support.math.logbf128
libc.src.__support.math.logbf16
libc.src.__support.math.logf
libc.src.__support.math.log_bf16
libc.src.__support.math.ldexpf
libc.src.__support.math.ldexpf128
libc.src.__support.math.ldexpf16
libc.src.__support.math.llogbf
libc.src.__support.math.llogbf128
libc.src.__support.math.llogbf16
libc.src.__support.math.logbl
libc.src.__support.math.logf16
libc.src.__support.math.llogbl
libc.src.__support.math.nextdown
libc.src.__support.math.nextdownbf16
libc.src.__support.math.nextdownf
libc.src.__support.math.nextdownf128
libc.src.__support.math.nextdownf16
libc.src.__support.math.nextdownl
libc.src.__support.math.nextup
libc.src.__support.math.nextupbf16
libc.src.__support.math.nextupf
libc.src.__support.math.nextupf128
libc.src.__support.math.nextupf16
libc.src.__support.math.nextupl
libc.src.__support.math.nexttoward
libc.src.__support.math.nexttowardbf16
libc.src.__support.math.nexttowardf
libc.src.__support.math.nexttowardf16
libc.src.__support.math.nexttowardl
libc.src.__support.math.nextafter
libc.src.__support.math.nextafterbf16
libc.src.__support.math.nextafterf
libc.src.__support.math.nextafterf16
libc.src.__support.math.nextafterl
libc.src.__support.math.nextafterf128
libc.src.__support.math.pow
libc.src.__support.math.powf
libc.src.__support.math.rsqrtf
libc.src.__support.math.rsqrtf16
libc.src.__support.math.setpayload
libc.src.__support.math.setpayloadbf16
libc.src.__support.math.setpayloadf
libc.src.__support.math.setpayloadf128
libc.src.__support.math.setpayloadf16
libc.src.__support.math.setpayloadl
libc.src.__support.math.setpayloadsig
libc.src.__support.math.setpayloadsigbf16
libc.src.__support.math.setpayloadsigf
libc.src.__support.math.setpayloadsigf128
libc.src.__support.math.setpayloadsigf16
libc.src.__support.math.setpayloadsigl
libc.src.__support.math.sqrtf16
libc.src.__support.math.sin
libc.src.__support.math.sincos
libc.src.__support.math.sincosf
libc.src.__support.math.sinf
libc.src.__support.math.sinf16
libc.src.__support.math.sinhf
libc.src.__support.math.sinhf16
libc.src.__support.math.sqrtf128
libc.src.__support.math.sinpif
libc.src.__support.math.sinpif16
libc.src.__support.math.sqrt
libc.src.__support.math.sqrtf
libc.src.__support.math.tan
libc.src.__support.math.tanf
libc.src.__support.math.tanf16
libc.src.__support.math.tanhf
libc.src.__support.math.tanhf16
libc.src.__support.math.tanpif
libc.src.__support.math.tanpif16
)