Accuracy tests for libm
This patch adds tests for 14 math functions to address coverage issue of math functions discussed in: https://android-review.googlesource.com/#/c/49653/ Change-Id: Ia7200b93d4f5c7928a3fb827ca6932226384a116 Signed-off-by: Jingwei Zhang <jingwei.zhang@intel.com> Signed-off-by: Yong Yao <yong.yao@intel.com>
This commit is contained in:

committed by
Christopher Ferris

parent
2a60227223
commit
568d64dc62
@@ -59,6 +59,20 @@ libBionicStandardTests_src_files := \
|
|||||||
libgen_test.cpp \
|
libgen_test.cpp \
|
||||||
locale_test.cpp \
|
locale_test.cpp \
|
||||||
malloc_test.cpp \
|
malloc_test.cpp \
|
||||||
|
math_cos_test.cpp \
|
||||||
|
math_cosf_test.cpp \
|
||||||
|
math_exp_test.cpp \
|
||||||
|
math_expf_test.cpp \
|
||||||
|
math_log_test.cpp \
|
||||||
|
math_logf_test.cpp \
|
||||||
|
math_pow_test.cpp \
|
||||||
|
math_powf_test.cpp \
|
||||||
|
math_sin_test.cpp \
|
||||||
|
math_sinf_test.cpp \
|
||||||
|
math_sincos_test.cpp \
|
||||||
|
math_sincosf_test.cpp \
|
||||||
|
math_tan_test.cpp \
|
||||||
|
math_tanf_test.cpp \
|
||||||
math_test.cpp \
|
math_test.cpp \
|
||||||
mntent_test.cpp \
|
mntent_test.cpp \
|
||||||
netdb_test.cpp \
|
netdb_test.cpp \
|
||||||
|
5643
tests/math_cos_test.cpp
Normal file
5643
tests/math_cos_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
4355
tests/math_cosf_test.cpp
Normal file
4355
tests/math_cosf_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
1975
tests/math_exp_test.cpp
Normal file
1975
tests/math_exp_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
1439
tests/math_expf_test.cpp
Normal file
1439
tests/math_expf_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
1675
tests/math_log_test.cpp
Normal file
1675
tests/math_log_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
1327
tests/math_logf_test.cpp
Normal file
1327
tests/math_logf_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
3300
tests/math_pow_test.cpp
Normal file
3300
tests/math_pow_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
2788
tests/math_powf_test.cpp
Normal file
2788
tests/math_powf_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
5795
tests/math_sin_test.cpp
Normal file
5795
tests/math_sin_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
4788
tests/math_sincos_test.cpp
Normal file
4788
tests/math_sincos_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
4658
tests/math_sincosf_test.cpp
Normal file
4658
tests/math_sincosf_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
4395
tests/math_sinf_test.cpp
Normal file
4395
tests/math_sinf_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
5203
tests/math_tan_test.cpp
Normal file
5203
tests/math_tan_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
4459
tests/math_tanf_test.cpp
Normal file
4459
tests/math_tanf_test.cpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user