Showing with 14 additions and 4 deletions.
  1. +14 −4 src/core/stdc/math.d
18 changes: 14 additions & 4 deletions src/core/stdc/math.d
Original file line number Diff line number Diff line change
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