newly added. Not for productive used yetsvn diff | grep Index:

This commit is contained in:
nemu
2008-01-08 08:31:58 +00:00
commit c6cc508aaf
85 changed files with 14397 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#include <math.h>
#include <iostream>
using namespace std;
int main()
{
double value;
value = nan("NAN");
if (isnan(value))
cout << endl << "value is not a number";
else
cout << endl << "value is a number";
cout << endl << "value = " << value;
cout << endl << "done ..." << endl;
return 0;
}

View File

@@ -0,0 +1,17 @@
#------------------------------------------------------
# nanTest.pro
# qmake file for nanTest
#
# Andreas Suter, 2007/05/14
#
# $Id$
#
#------------------------------------------------------
MAKEFILE = Makefile
CONFIG += warn_on debug
SOURCES = nanTest.cpp
TARGET=nanTest