Skip to content

Commit 8d9a4fe

Browse files
committed
stdinc: Corrected documentation for SDL_atan2 and SDL_atan2f.
Fixes #13099.
1 parent abcfa1b commit 8d9a4fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/SDL3/SDL_stdinc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4656,7 +4656,7 @@ extern SDL_DECLSPEC float SDLCALL SDL_atanf(float x);
46564656
*
46574657
* Domain: `-INF <= x <= INF`, `-INF <= y <= INF`
46584658
*
4659-
* Range: `-Pi/2 <= y <= Pi/2`
4659+
* Range: `-Pi <= y <= Pi`
46604660
*
46614661
* This function operates on double-precision floating point values, use
46624662
* SDL_atan2f for single-precision floats.
@@ -4692,7 +4692,7 @@ extern SDL_DECLSPEC double SDLCALL SDL_atan2(double y, double x);
46924692
*
46934693
* Domain: `-INF <= x <= INF`, `-INF <= y <= INF`
46944694
*
4695-
* Range: `-Pi/2 <= y <= Pi/2`
4695+
* Range: `-Pi <= y <= Pi`
46964696
*
46974697
* This function operates on single-precision floating point values, use
46984698
* SDL_atan2 for double-precision floats.

0 commit comments

Comments
 (0)