Home | History | Annotate | only in /external/ltp/testcases/misc/math/float
Up to higher level directory
NameDateSize
bessel/21-Aug-2018
exp_log/21-Aug-2018
float_bessel.c21-Aug-20181.8K
float_exp_log.c21-Aug-20182K
float_iperb.c21-Aug-20181.6K
float_power.c21-Aug-20181.9K
float_trigo.c21-Aug-20181.9K
iperb/21-Aug-2018
main.c21-Aug-201811K
Makefile21-Aug-20181.1K
power/21-Aug-2018
README21-Aug-20181.4K
tfloat.h21-Aug-20183.4K
thread_code.c21-Aug-201810.4K
trigo/21-Aug-2018

README

      1 cpio -idvB <livr.cpio
      2 
      3 there are 5 sets of datafiles [trigo, power, iperb, exp_log, bessel]
      4 
      5 there are 5 testcases [float_trigo, float_power, float_iperb, float_exp_log,
      6 float_bessel]
      7 
      8 how to do it
      9 ============
     10 1)
     11 
     12 first of all you have to generate datafiles, following is the trigo set of
     13 datafiles 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 
     29 2) do the same with the others (iperb, exp_log, power & bessel)
     30 
     31 ...........................................................................
     32 3) 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 $?
     46 0
     47 $
     48 
     49 Notes:
     50 ------
     51 1)
     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 
     56 2) number of threads is initialized to 20 per function
     57 
     58 3) number of loops is initialized to 500 (ability to view cpus loading)
     59 
     60 4) these tests have been started on ia64 and ia32 architectures.
     61 
     62 
     63 
     64