-nan(ind) C++ Code Example


Example: nan c++ example

#include <iostream> #include <cmath> using namespace std;  // main() section int main() {     double nanValue;          //generating generic NaN value     //by passing an empty string     nanValue = nan("");          //printing the value      cout<<"nanValue: "<<nanValue<<endl;          return 0; }

Comments

Popular posts from this blog

Chemistry - Bond Angles In NH3 And NCl3

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Change The Font Size Of Visual Studio Solution Explorer