function value = r8_epsilon ( ) %*****************************************************************************80 % %% R8_EPSILON returns the R8 roundoff unit. % % Discussion: % % The roundoff unit is a number R which is a power of 2 with the % property that, to the precision of the computer's arithmetic, % 1 < 1 + R % but % 1 = ( 1 + R / 2 ) % % Licensing: % % This code is distributed under the GNU LGPL license. % % Modified: % % 22 August 2004 % % Author: % % John Burkardt % % Parameters: % % Output, real VALUE, the roundoff unit. % value = eps; return end