Attempt to fix isinff.c
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user