• Home
  • History
  • Annotate
  • only in /external/ltp/testcases/misc/math/float/
NameDateSize

..11-Jun-20184 KiB

bessel/11-Jun-20184 KiB

exp_log/11-Jun-20184 KiB

float_bessel.c11-Jun-20181.8 KiB

float_exp_log.c11-Jun-20182 KiB

float_iperb.c11-Jun-20181.6 KiB

float_power.c11-Jun-20181.9 KiB

float_trigo.c11-Jun-20181.9 KiB

iperb/11-Jun-20184 KiB

main.c11-Jun-201811 KiB

Makefile11-Jun-20181.1 KiB

power/11-Jun-20184 KiB

README11-Jun-20181.4 KiB

tfloat.h11-Jun-20183.4 KiB

thread_code.c11-Jun-201810.4 KiB

trigo/11-Jun-20184 KiB

README

1cpio -idvB <livr.cpio
2
3there are 5 sets of datafiles [trigo, power, iperb, exp_log, bessel]
4
5there are 5 testcases [float_trigo, float_power, float_iperb, float_exp_log,
6float_bessel]
7
8how to do it
9============
101)
11
12first of all you have to generate datafiles, following is the trigo set of
13datafiles way of doing:
14/* there is a readme file within the directory if necessary */
15
16$ cd trigo
17
18/* compile */
19$ make all
20
21/* start the trigo datafiles generator */
22$ gentrigo
23
24/* check that make install will install datafiles where they've to be placed */
25/* check that repository is existing */
26/* see Makefile file */
27$ make install
28
292) do the same with the others (iperb, exp_log, power & bessel)
30
31...........................................................................
323) compiling & installing testcases
33
34$ cd ..
35$ make all
36$ make install
37..........................................................................
38/* starting the testcase */
39$ cd ../bin
40$ float_trigo
41$ float_power
42$ float_exp_log
43$ float_iperb
44$ float_bessel
45$ echo $?
460
47$
48
49Notes:
50------
511)
52/* datafiles are supposed to be placed to the same directory as executables */
53/* this can be changed giving the absolute path of the directory to the
54 testcase ex:$ float_trigo -D /home/linux/livr */
55
562) number of threads is initialized to 20 per function
57
583) number of loops is initialized to 500 (ability to view cpus loading)
59
604) these tests have been started on ia64 and ia32 architectures.
61
62
63
64