 
  
  
  
  
 
Consider the n-ary function   ,
along with the functions
 ,
along with the functions   and
  and
  which overestimate the error of
 
which overestimate the error of   ,
an accurate model of
 ,
an accurate model of   .
The function
 .
The function   overestimates the amount by which
  overestimates the amount by which   exceeds
  exceeds
  while
  while   overestimates the amount by which
  overestimates the amount by which   exceeds
  exceeds
  :
 :
  
 
A simple implementation of   would proceed as follows:
  would proceed as follows:
  
 
 would proceed as follows:
  would proceed as follows:
  
 
 and
  and   would be computed concurrently with
  would be computed concurrently with   and would use partial results computed during the computation of
 
and would use partial results computed during the computation of   .
If necessary, table lookup may be used to handle infinite arguments.
 .
If necessary, table lookup may be used to handle infinite arguments.
As an example, consider a model   , of
 , of   ,
which guarantees:
 ,
which guarantees:
  
 
 than
  than   .
The functions
 .
The functions
  
 
 ,
where
 ,
where   and
  and   give the floating-point number
immediately preceding and succeeding x, respectively:
  give the floating-point number
immediately preceding and succeeding x, respectively:
  
 
  
 
 
  
  
  
  
 | Jeff Tupper | March 1996 |