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 #1162 from 9il/fabs
Browse files Browse the repository at this point in the history
fix Issue 14157
  • Loading branch information
andralex committed Feb 9, 2015
2 parents 8af5322 + 5cd6678 commit db4b476
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/core/stdc/math.d
Expand Up @@ -1883,10 +1883,20 @@ else

///
double fabs(double x);
///
float fabsf(float x);
///
real fabsl(real x);
version(CRuntime_Microsoft)
{
///
float fabsf(float x) { return fabs(x); }
///
real fabsl(real x) { return fabs(x); }
}
else
{
///
float fabsf(float x);
///
real fabsl(real x);
}

///
double hypot(double x, double y);
Expand Down

0 comments on commit db4b476

Please sign in to comment.