[Cppunit-cvs] cppunit2/src/cpput properties.cpp,1.10,1.11
Brought to you by:
blep
From: Baptiste L. <bl...@us...> - 2005-06-24 19:45:58
|
Update of /cvsroot/cppunit/cppunit2/src/cpput In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17727/src/cpput Modified Files: properties.cpp Log Message: removed support for 'long double'. Not much support for that type in the standard library => it would raise too much portability issue. Index: properties.cpp =================================================================== RCS file: /cvsroot/cppunit/cppunit2/src/cpput/properties.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** properties.cpp 5 Mar 2005 12:29:11 -0000 1.10 --- properties.cpp 24 Jun 2005 19:45:49 -0000 1.11 *************** *** 67,77 **** - Value::Value( long double value ) - { - guts_.type_ = vtReal; - guts_.realValue_ = value; - } - - Value::Value( const char *value ) { --- 67,70 ---- *************** *** 253,257 **** # endif // ifndef CPPTL_NO_INT64 ! long double Value::asReal() const { --- 246,250 ---- # endif // ifndef CPPTL_NO_INT64 ! double Value::asReal() const { *************** *** 263,269 **** #ifndef CPPTL_NO_INT64_TO_DOUBLE case vtSignedInteger: ! return (long double)(guts_.intValue_); case vtUnsignedInteger: ! return (long double)(guts_.uintValue_); #endif case vtReal: --- 256,262 ---- #ifndef CPPTL_NO_INT64_TO_DOUBLE case vtSignedInteger: ! return (double)(guts_.intValue_); case vtUnsignedInteger: ! return (double)(guts_.uintValue_); #endif case vtReal: |