// ---------------------------------------------------------------------- // // abs_ldbl.cc - Do we have abs(long double) in ? // // History: // 09-Sep-1999 WEB Initial draft, based on abs_dbl.cc // 15-Feb-2000 WEB Update to correspond to revised USING macro // 25-Apr-2001 WEB s//"ISOcxx\/ISOcxxSyntax.hh"/ // // ---------------------------------------------------------------------- #include "ISOcxx/ISOcxxSyntax.hh" #include int main() { USING(std::abs) return ( 0.0L == abs( 0.0L) && 1.0L == abs( 1.0L) && 2.0L == abs(-2.0L) ) ? 0 : 1 ; } // main()