Advertisement
Dprogrammed1

cplus

Apr 1st, 2019
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. #include <iostream>
  2.     #include <limits>
  3.     using namespace std;
  4.     int main( )
  5.     {
  6.         cout << numeric_limits<float> :: is_exact;
  7.         cout << numeric_limits<double> :: is_exact;
  8.         cout << numeric_limits<long int> :: is_exact;
  9.         cout << numeric_limits<unsigned char> :: is_exact;
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement