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:
Jingwei Zhang 2014-05-13 16:17:24 -07:00 committed by Christopher Ferris
parent 2a60227223
commit 568d64dc62
15 changed files with 51814 additions and 0 deletions

View File

@ -59,6 +59,20 @@ libBionicStandardTests_src_files := \
libgen_test.cpp \
locale_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 \
mntent_test.cpp \
netdb_test.cpp \

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

File diff suppressed because it is too large Load Diff

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

File diff suppressed because it is too large Load Diff

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

File diff suppressed because it is too large Load Diff

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

File diff suppressed because it is too large Load Diff

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

File diff suppressed because it is too large Load Diff

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

File diff suppressed because it is too large Load Diff

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

File diff suppressed because it is too large Load Diff