Professional Documents
Culture Documents
#include <cmath>
#include <iomanip>
#include <float.h>
#include <inttypes.h>
#include <limits.h>
// extern size_t popcount(uintmax_t);
// #define PRECISION(umax_value) popcount(umax_value)
/*The NaN values are used to identify undefined or non-representable values for
floating-point elements, such as the square root of negative numbers or the result
of 0/0.
*/
using namespace std;
void floatToInt(float float_val)
{
int int_val;
// int_val = float_val;
// cout<<int_val<<endl;