Cwise_isNaN.cpp
Go to the documentation of this file.
1 Array3d v(1,2,3);
2 v(1) *= 0.0/0.0;
3 v(2) /= 0.0;
4 cout << v << endl << endl;
5 cout << isnan(v) << endl;
Array3d v(1, 2, 3)
Array< double, 3, 1 > Array3d
Definition: Array.h:346
bool() isnan(const bfloat16 &a)
Definition: BFloat16.h:589