Changeset 1121 for trunk/test_more


Ignore:
Timestamp:
Jan 11, 2008 9:37:12 AM (12 years ago)
Author:
bradbell
Message:

trunk: Check value of double precision machine epsilon.

makefile.am: add dbl_epsilon.
makefile.in: changes corresponding to makefile.am
test_more.cpp: add dbl_epsilon.
test_more.vcproj: add dbl_epsilon.
whats_new_07.omh: user's view of the changes.

Location:
trunk/test_more
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/makefile.am

    r1092 r1121  
    11# -----------------------------------------------------------------------------
    2 # CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-07 Bradley M. Bell
     2# CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-08 Bradley M. Bell
    33#
    44# CppAD is distributed under multiple licenses. This distribution is under
     
    6363        cos.cpp \
    6464        cosh.cpp \
     65        dbl_epsilon.cpp \
    6566        div.cpp \
    6667        div_eq.cpp \
  • trunk/test_more/makefile.in

    r1093 r1121  
    4545        acos.cpp asin.cpp add.cpp add_eq.cpp add_zero.cpp atan.cpp \
    4646        atan_2.cpp compare.cpp compare_change.cpp cond_exp.cpp \
    47         cond_exp_ad.cpp copy.cpp cos.cpp cosh.cpp div.cpp div_eq.cpp \
    48         div_zero_one.cpp erf.cpp exp.cpp for_hess.cpp \
    49         for_sparse_jac.cpp forward.cpp from_base.cpp fun_check.cpp \
    50         log.cpp log_10.cpp mul.cpp mul_eq.cpp mul_zero_one.cpp \
    51         near_equal_ext.cpp neg.cpp ode_err_control.cpp poly.cpp \
    52         pow.cpp pow_int.cpp romberg_one.cpp rosen_34.cpp runge_45.cpp \
    53         reverse.cpp rev_sparse_hes.cpp rev_sparse_jac.cpp rev_two.cpp \
     47        cond_exp_ad.cpp copy.cpp cos.cpp cosh.cpp dbl_epsilon.cpp \
     48        div.cpp div_eq.cpp div_zero_one.cpp erf.cpp exp.cpp \
     49        for_hess.cpp for_sparse_jac.cpp forward.cpp from_base.cpp \
     50        fun_check.cpp log.cpp log_10.cpp mul.cpp mul_eq.cpp \
     51        mul_zero_one.cpp near_equal_ext.cpp neg.cpp \
     52        ode_err_control.cpp poly.cpp pow.cpp pow_int.cpp \
     53        romberg_one.cpp rosen_34.cpp runge_45.cpp reverse.cpp \
     54        rev_sparse_hes.cpp rev_sparse_jac.cpp rev_two.cpp \
    5455        simple_vector.cpp sin.cpp sin_cos.cpp sinh.cpp \
    5556        sparse_vec_ad.cpp sqrt.cpp std_math.cpp sub.cpp sub_eq.cpp \
     
    6162        atan_2.$(OBJEXT) compare.$(OBJEXT) compare_change.$(OBJEXT) \
    6263        cond_exp.$(OBJEXT) cond_exp_ad.$(OBJEXT) copy.$(OBJEXT) \
    63         cos.$(OBJEXT) cosh.$(OBJEXT) div.$(OBJEXT) div_eq.$(OBJEXT) \
    64         div_zero_one.$(OBJEXT) erf.$(OBJEXT) exp.$(OBJEXT) \
    65         for_hess.$(OBJEXT) for_sparse_jac.$(OBJEXT) forward.$(OBJEXT) \
    66         from_base.$(OBJEXT) fun_check.$(OBJEXT) log.$(OBJEXT) \
    67         log_10.$(OBJEXT) mul.$(OBJEXT) mul_eq.$(OBJEXT) \
    68         mul_zero_one.$(OBJEXT) near_equal_ext.$(OBJEXT) neg.$(OBJEXT) \
     64        cos.$(OBJEXT) cosh.$(OBJEXT) dbl_epsilon.$(OBJEXT) \
     65        div.$(OBJEXT) div_eq.$(OBJEXT) div_zero_one.$(OBJEXT) \
     66        erf.$(OBJEXT) exp.$(OBJEXT) for_hess.$(OBJEXT) \
     67        for_sparse_jac.$(OBJEXT) forward.$(OBJEXT) from_base.$(OBJEXT) \
     68        fun_check.$(OBJEXT) log.$(OBJEXT) log_10.$(OBJEXT) \
     69        mul.$(OBJEXT) mul_eq.$(OBJEXT) mul_zero_one.$(OBJEXT) \
     70        near_equal_ext.$(OBJEXT) neg.$(OBJEXT) \
    6971        ode_err_control.$(OBJEXT) poly.$(OBJEXT) pow.$(OBJEXT) \
    7072        pow_int.$(OBJEXT) romberg_one.$(OBJEXT) rosen_34.$(OBJEXT) \
     
    242244        cos.cpp \
    243245        cosh.cpp \
     246        dbl_epsilon.cpp \
    244247        div.cpp \
    245248        div_eq.cpp \
     
    347350@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cos.Po@am__quote@
    348351@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cosh.Po@am__quote@
     352@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dbl_epsilon.Po@am__quote@
    349353@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/div.Po@am__quote@
    350354@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/div_eq.Po@am__quote@
  • trunk/test_more/test_more.cpp

    r1092 r1121  
    11/* --------------------------------------------------------------------------
    2 CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-07 Bradley M. Bell
     2CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-08 Bradley M. Bell
    33
    44CppAD is distributed under multiple licenses. This distribution is under
     
    3232extern bool Cos(void);
    3333extern bool Cosh(void);
     34extern bool dbl_epsilon(void);
    3435extern bool Div(void);
    3536extern bool DivEq(void);
     
    124125        ok &= Run( Cos,             "Cos"            );
    125126        ok &= Run( Cosh,            "Cosh"           );
     127        ok &= Run( dbl_epsilon,     "dbl_epsilon"    );
    126128        ok &= Run( Div,             "Div"            );
    127129        ok &= Run( DivEq,           "DivEq"          );
  • trunk/test_more/test_more.vcproj

    r1092 r1121  
    160160                        </File>
    161161                        <File
     162                                RelativePath=".\dbl_epsilon.cpp">
     163                        </File>
     164                        <File
    162165                                RelativePath=".\div.cpp">
    163166                        </File>
Note: See TracChangeset for help on using the changeset viewer.