Changeset 3738 for trunk/test_more


Ignore:
Timestamp:
Oct 5, 2015 9:16:50 AM (4 years ago)
Author:
bradbell
Message:

merge to branch: trunk
from repository: https://github.com/coin-or/CppAD
start hash code: b70557cfc2eac09419362b050f688a8b59e112ec
end hash code: 73a24bb54131f169c29c2cd2393c10bdaecb5d95

commit 73a24bb54131f169c29c2cd2393c10bdaecb5d95
Author: Brad Bell <bradbell@…>
Date: Sun Oct 4 19:39:32 2015 -0700

Remove invisible white space.

commit 8025af3892e1afa816df2b8f9fc26b0c7f551c45
Author: Brad Bell <bradbell@…>
Date: Sun Oct 4 19:39:29 2015 -0700

Remove zdouble from examples (its been deprecated).

commit ddd8f11e2f5fdf4888fa6646769f8f393a8edb4a
Author: Brad Bell <bradbell@…>
Date: Sun Oct 4 18:28:24 2015 -0700

Remove invisible white space.

commit 3a172d4c4c2a911caf6a758fdac010535a9a543b
Author: Brad Bell <bradbell@…>
Date: Sun Oct 4 18:27:54 2015 -0700

Deprecate the nan(zero) function.


wish_list.omh: remove numeric limits wish list item.

commit be98c44883967329622f0318208d4bd3fa55e94f
Author: Brad Bell <bradbell@…>
Date: Sun Oct 4 16:55:15 2015 -0700

Add quiet_NaN to CppAD::numeric_limits.


base_complex.hpp: use CPPAD_NUMERIC_LIMITS for complex<float>.

commit 8d2a16b97f38db5439395c5ddf94445f4f3328b0
Author: Brad Bell <bradbell@…>
Date: Sun Oct 4 15:38:36 2015 -0700

Move examples and tests from limits.cpp to num_limits.cpp.

commit cf81f99c067a0ad6a7a7e8900ac33c1c4a7794ff
Author: Brad Bell <bradbell@…>
Date: Sun Oct 4 14:03:39 2015 -0700

Move limits -> numeric_limits.

commit 61443ef555090628a02b75159a8397c6aaf1b445
Author: Brad Bell <bradbell@…>
Date: Sun Oct 4 10:13:03 2015 -0700

Remove invisible white space.

commit a3d379197febc72f6a1cc4959155b48a00fc7cec
Author: Brad Bell <bradbell@…>
Date: Sun Oct 4 10:12:50 2015 -0700

  1. Move zdouble to base_require and deprecated.
  2. Move limits to ad_valued section.


limits.hpp: add static to prototypes.

commit 4873c18c4ae21c1204b4cfb2ded93215ac69b461
Author: Brad Bell <bradbell@…>
Date: Sun Oct 4 07:49:16 2015 -0700

  1. Move base type numeric limits to a separate documentaiton section.
  2. Add macro to aid in setting numeric limits for a base type.
  3. Remove mention of depreicated epsilon function (where no longer needed).
Location:
trunk/test_more
Files:
2 added
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/test_more/CMakeLists.txt

    r3735 r3738  
    106106        fun_check.cpp
    107107        jacobian.cpp
    108         limits.cpp
     108        num_limits.cpp
    109109        log.cpp
    110110        log1p.cpp
     
    153153        vec_ad_par.cpp
    154154        vec_unary.cpp
     155        zdouble.cpp
    155156)
    156157
  • trunk/test_more/makefile.am

    r3735 r3738  
    132132        fun_check.cpp \
    133133        jacobian.cpp \
    134         limits.cpp \
     134        num_limits.cpp \
    135135        log.cpp \
    136136        log1p.cpp \
     
    178178        vec_ad.cpp \
    179179        vec_ad_par.cpp \
    180         vec_unary.cpp
     180        vec_unary.cpp \
     181        zdouble.cpp
    181182
    182183test: check
  • trunk/test_more/makefile.in

    r3735 r3738  
    122122        for_sparse_jac.cpp forward.cpp forward_dir.cpp \
    123123        forward_order.cpp from_base.cpp fun_check.cpp jacobian.cpp \
    124         limits.cpp log.cpp log1p.cpp log10.cpp mul.cpp mul_cskip.cpp \
    125         mul_eq.cpp mul_level.cpp mul_cond_rev.cpp mul_zdouble.cpp \
    126         mul_zero_one.cpp near_equal_ext.cpp neg.cpp \
     124        num_limits.cpp log.cpp log1p.cpp log10.cpp mul.cpp \
     125        mul_cskip.cpp mul_eq.cpp mul_level.cpp mul_cond_rev.cpp \
     126        mul_zdouble.cpp mul_zero_one.cpp near_equal_ext.cpp neg.cpp \
    127127        ode_err_control.cpp omp_alloc.cpp optimize.cpp parameter.cpp \
    128128        poly.cpp pow.cpp pow_int.cpp print_for.cpp romberg_one.cpp \
     
    132132        sparse_vec_ad.cpp sqrt.cpp std_math.cpp sub.cpp sub_eq.cpp \
    133133        sub_zero.cpp tan.cpp test_vector.cpp track_new_del.cpp \
    134         value.cpp vec_ad.cpp vec_ad_par.cpp vec_unary.cpp
     134        value.cpp vec_ad.cpp vec_ad_par.cpp vec_unary.cpp zdouble.cpp
    135135@CppAD_ADOLC_TRUE@am__objects_1 = base_adolc.$(OBJEXT)
    136136@CppAD_IPOPT_TRUE@am__objects_2 = ipopt_solve.$(OBJEXT)
     
    153153        forward_dir.$(OBJEXT) forward_order.$(OBJEXT) \
    154154        from_base.$(OBJEXT) fun_check.$(OBJEXT) jacobian.$(OBJEXT) \
    155         limits.$(OBJEXT) log.$(OBJEXT) log1p.$(OBJEXT) log10.$(OBJEXT) \
    156         mul.$(OBJEXT) mul_cskip.$(OBJEXT) mul_eq.$(OBJEXT) \
    157         mul_level.$(OBJEXT) mul_cond_rev.$(OBJEXT) \
     155        num_limits.$(OBJEXT) log.$(OBJEXT) log1p.$(OBJEXT) \
     156        log10.$(OBJEXT) mul.$(OBJEXT) mul_cskip.$(OBJEXT) \
     157        mul_eq.$(OBJEXT) mul_level.$(OBJEXT) mul_cond_rev.$(OBJEXT) \
    158158        mul_zdouble.$(OBJEXT) mul_zero_one.$(OBJEXT) \
    159159        near_equal_ext.$(OBJEXT) neg.$(OBJEXT) \
     
    170170        sub_eq.$(OBJEXT) sub_zero.$(OBJEXT) tan.$(OBJEXT) \
    171171        test_vector.$(OBJEXT) track_new_del.$(OBJEXT) value.$(OBJEXT) \
    172         vec_ad.$(OBJEXT) vec_ad_par.$(OBJEXT) vec_unary.$(OBJEXT)
     172        vec_ad.$(OBJEXT) vec_ad_par.$(OBJEXT) vec_unary.$(OBJEXT) \
     173        zdouble.$(OBJEXT)
    173174test_more_OBJECTS = $(am_test_more_OBJECTS)
    174175test_more_LDADD = $(LDADD)
     
    536537        fun_check.cpp \
    537538        jacobian.cpp \
    538         limits.cpp \
     539        num_limits.cpp \
    539540        log.cpp \
    540541        log1p.cpp \
     
    582583        vec_ad.cpp \
    583584        vec_ad_par.cpp \
    584         vec_unary.cpp
     585        vec_unary.cpp \
     586        zdouble.cpp
    585587
    586588all: all-am
     
    686688@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/jacobian.Po@am__quote@
    687689@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libeigen_a-cppad_eigen.Po@am__quote@
    688 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/limits.Po@am__quote@
    689690@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/log.Po@am__quote@
    690691@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/log10.Po@am__quote@
     
    699700@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/near_equal_ext.Po@am__quote@
    700701@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/neg.Po@am__quote@
     702@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/num_limits.Po@am__quote@
    701703@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ode_err_control.Po@am__quote@
    702704@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/omp_alloc.Po@am__quote@
     
    734736@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vec_ad_par.Po@am__quote@
    735737@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vec_unary.Po@am__quote@
     738@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/zdouble.Po@am__quote@
    736739
    737740.cpp.o:
  • trunk/test_more/test_more.cpp

    r3735 r3738  
    6262extern bool ipopt_solve(void);
    6363extern bool jacobian(void);
    64 extern bool limits(void);
    6564extern bool log(void);
    6665extern bool log10(void);
     
    7574extern bool NearEqualExt(void);
    7675extern bool Neg(void);
     76extern bool num_limits(void);
    7777extern bool ode_err_control(void);
    7878extern bool omp_alloc(void);
     
    109109extern bool VecADPar(void);
    110110extern bool VecUnary(void);
     111extern bool zdouble(void);
    111112
    112113namespace {
     
    182183        ok &= Run( FunCheck,        "FunCheck"       );
    183184        ok &= Run( jacobian,        "jacobian"       );
    184         ok &= Run( limits,          "limits"         );
    185185        ok &= Run( log,             "log"            );
    186186        ok &= Run( log10,           "log10"          );
     
    195195        ok &= Run( NearEqualExt,    "NearEqualExt"   );
    196196        ok &= Run( Neg,             "Neg"            );
     197        ok &= Run( num_limits,        "num_limits"       );
    197198        ok &= Run( ode_err_control, "ode_err_control");
    198199        ok &= Run( omp_alloc,       "omp_alloc"      );
     
    228229        ok &= Run( VecADPar,        "VecADPar"       );
    229230        ok &= Run( VecUnary,        "VecUnary"       );
     231        ok &= Run( zdouble,         "zdouble"        );
    230232# ifdef CPPAD_ADOLC_TEST
    231233        ok &= Run( base_adolc,      "base_adolc"     );
Note: See TracChangeset for help on using the changeset viewer.