Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
implement isnan for win64
Browse files Browse the repository at this point in the history
  • Loading branch information
rainers committed Nov 24, 2012
1 parent f19509c commit ec99ea1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/stdc/math.d
Expand Up @@ -205,6 +205,13 @@ else version( DigitalMarsWin64 )
int _finite(double x);
int _isnan(double x);
int _fpclass(double x);

extern(D)
{
int isnan(float x) { return _isnanf(x); }
int isnan(double x) { return _isnan(x); }
int isnan(real x) { return _isnan(x); }
}
}
else version( linux )
{
Expand Down

0 comments on commit ec99ea1

Please sign in to comment.