Attempt to fix isinff.c

This commit is contained in:
igor-m
2014-04-11 21:23:23 +02:00
parent c31e4fa1e8
commit b73ccfb9dc

View File

@@ -11,7 +11,7 @@
* isinff(x) returns 1 is x is inf, -1 if x is -inf, else 0;
* no branching!
*/
int isinff (float x)
int isinff (double x)
{
long lx = *(long*) &x;
long v = (lx & 0x7fffffff) ^ 0x7f800000;