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

Commit 4b07cff

Browse files
kinkedlang-bot
authored andcommitted
core.stdc.math: Fix atan2l for uclibc
1 parent a0ad8c4 commit 4b07cff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/core/stdc/math.d

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3089,7 +3089,7 @@ else version (OpenBSD)
30893089
///
30903090
pure real atanl(real x);
30913091
///
3092-
real atan2l(real x, real y);
3092+
real atan2l(real y, real x);
30933093
///
30943094
pure real cosl(real x);
30953095
///
@@ -3377,7 +3377,7 @@ else version (DragonFlyBSD)
33773377
pure real acosl(real x);
33783378
pure real asinl(real x);
33793379
pure real atanl(real x);
3380-
real atan2l(real x, real y);
3380+
real atan2l(real y, real x);
33813381
pure real cosl(real x);
33823382
pure real sinl(real x);
33833383
pure real tanl(real x);
@@ -3872,7 +3872,7 @@ else version (CRuntime_UClibc)
38723872
///
38733873
float atan2f(float y, float x);
38743874
///
3875-
extern(D) real atan2l(real y, real x) { return atan2(cast(double) x, cast(double) y); }
3875+
extern(D) real atan2l(real y, real x) { return atan2(cast(double) y, cast(double) x); }
38763876

38773877
///
38783878
pure double cos(double x);

0 commit comments

Comments
 (0)