Prev Next epsilon

@(@\newcommand{\W}[1]{ \; #1 \; } \newcommand{\R}[1]{ {\rm #1} } \newcommand{\B}[1]{ {\bf #1} } \newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} } \newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} } \newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} } \newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }@)@
Machine Epsilon For AD Types

Deprecated 2012-06-17
This routine has been deprecated. You should use the numeric_limits epsilon instead.

Syntax
eps = epsilon<Float>()

Purpose
Obtain the value of machine epsilon corresponding to the type Float .

Float
this type can either be AD<Base> , or it can be Base for any AD<Base> type.

eps
The result eps has prototype
     
Float eps

Input File: cppad/core/epsilon.hpp