mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 03:44:13 +00:00
[CRT:MATH] Implement _finite, _finitef
This commit is contained in:
parent
50028685dc
commit
e01231bd49
5 changed files with 41 additions and 17 deletions
|
@ -36,19 +36,3 @@ int CDECL _isnan(double __x)
|
|||
x.__x = &__x;
|
||||
return ( x.x->exponent == 0x7ff && ( x.x->mantissah != 0 || x.x->mantissal != 0 ));
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
int CDECL _finite(double __x)
|
||||
{
|
||||
union
|
||||
{
|
||||
double* __x;
|
||||
double_s* x;
|
||||
} x;
|
||||
|
||||
x.__x = &__x;
|
||||
|
||||
return ((x.x->exponent & 0x7ff) != 0x7ff);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue