Added finitef() implementation. Won't work yet, since __fpclassifyf() is
not implemented. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14911 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -116,3 +116,10 @@ __fpclassifyl(long double value)
|
|||||||
// TODO: implement me!
|
// TODO: implement me!
|
||||||
return FP_NORMAL;
|
return FP_NORMAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
finitef(float value)
|
||||||
|
{
|
||||||
|
int clazz = __fpclassifyf(value);
|
||||||
|
return (clazz == FP_ZERO || clazz == FP_SUBNORMAL || clazz == FP_NORMAL);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user