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:
parent
d9525baaf5
commit
c5f20ef053
@ -116,3 +116,10 @@ __fpclassifyl(long double value)
|
||||
// TODO: implement me!
|
||||
return FP_NORMAL;
|
||||
}
|
||||
|
||||
int
|
||||
finitef(float value)
|
||||
{
|
||||
int clazz = __fpclassifyf(value);
|
||||
return (clazz == FP_ZERO || clazz == FP_SUBNORMAL || clazz == FP_NORMAL);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user