A
aleksa
int foo (double num)
{
if ( (int64) num == -1) return 0;
return -1;
}
I want to read a double as int64 (qword), but the compiler reads
it as double then converts it to integer, which can be a problem
since the 'num' can be a NAN.
How do I access the num as a QWORD?
{
if ( (int64) num == -1) return 0;
return -1;
}
I want to read a double as int64 (qword), but the compiler reads
it as double then converts it to integer, which can be a problem
since the 'num' can be a NAN.
How do I access the num as a QWORD?