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

Commit

Permalink
Merge pull request #357 from rainers/win64_isnan
Browse files Browse the repository at this point in the history
implement isnan for win64
  • Loading branch information
Alex Rønne Petersen committed Nov 24, 2012
2 parents f19509c + ec99ea1 commit 7cb0b79
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 7cb0b79

Please sign in to comment.