// ----------------------------------------------------------------------
//
// abs_dbl.cc - Do we have abs(double) in <cmath>?
//
// History:
//   02-Sep-1999  WEB  Initial draft, based on abs_long.cc
//   15-Feb-2000  WEB  Update to correspond to revised USING macro
//   25-Apr-2001  WEB  s/<ISOcxxSyntax.hh>/"ISOcxx\/ISOcxxSyntax.hh"/
//
// ----------------------------------------------------------------------


#include "ISOcxx/ISOcxxSyntax.hh"

#include <cmath>


int  main()  {

  USING(std::abs)

  return  (   0.0 == abs( 0.0)
          &&  1.0 == abs( 1.0)
          &&  2.0 == abs(-2.0)
          )
       ?  0
       :  1
       ;

}  // main()
