|
|
Choosing A Webhost: |
CVS update of carob (2 files): msg#00059db.carob.cvs
Date: Monday, February 20, 2006 @ 11:34:08 Author: marc Path: /cvsroot/carob/carob Modified: src/ParameterStatement.cpp (1.22 -> 1.23) test/40-Parameter-PreparedStatement/TestIEEE754.cpp (1.9 -> 1.10) Restored/enhanced lost comments about isnan() not belonging to C++98. -----------------------------------------------------+ src/ParameterStatement.cpp | 2 +- test/40-Parameter-PreparedStatement/TestIEEE754.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: carob/src/ParameterStatement.cpp diff -u carob/src/ParameterStatement.cpp:1.22 carob/src/ParameterStatement.cpp:1.23 --- carob/src/ParameterStatement.cpp:1.22 Wed Feb 15 11:03:42 2006 +++ carob/src/ParameterStatement.cpp Mon Feb 20 11:34:08 2006 @@ -250,7 +250,7 @@ // This is the actual filtering operator operator<< (FP value) { - // Warning: this is C99 code, not C++98! + // Warning: isnan() and isinf() are C99, not C++98! // first the common case if (!isnan(value) && !isinf(value)) { Index: carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp diff -u carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp:1.9 carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp:1.10 --- carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp:1.9 Tue Feb 14 12:05:05 2006 +++ carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp Mon Feb 20 11:34:08 2006 @@ -72,7 +72,7 @@ template <class FP> bool better_equal(FP a, FP b) { - if (isnan(a)) + if (isnan(a)) // isnan() is C99 but not C++98 return (isnan(b) && (std::signbit(a) == std::signbit(b))); else return (a == b);
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS update of carob (include/Connection.hpp src/Connection.cpp), gilles-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
|---|---|
| Next by Date: | CVS update of libmysequoia/src (CarobStmt.cpp), zsolt-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Previous by Thread: | CVS update of carob (2 files), gilles-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of carob (include/JavaSocket.hpp src/JavaSocket.cpp), gilles-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|