* [FFmpeg-devel] [PATCH] doc/utils: fix atan2 parameter order
@ 2024-01-14 19:40 Haixia Shi via ffmpeg-devel
2024-01-16 0:08 ` Stefano Sabatini
0 siblings, 1 reply; 2+ messages in thread
From: Haixia Shi via ffmpeg-devel @ 2024-01-14 19:40 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Haixia Shi
The C library function double atan2(double y, double x) takes y as the first
parameter and x as the second parameter.
Signed-off-by: Haixia Shi <hshi@meta.com>
---
doc/utils.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/utils.texi b/doc/utils.texi
index 0c4f146f4f..76e704fc3c 100644
--- a/doc/utils.texi
+++ b/doc/utils.texi
@@ -815,7 +815,7 @@ Compute arcsine of @var{x}.
@item atan(x)
Compute arctangent of @var{x}.
-@item atan2(x, y)
+@item atan2(y, x)
Compute principal value of the arc tangent of @var{y}/@var{x}.
@item between(x, min, max)
--
2.31.1
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [FFmpeg-devel] [PATCH] doc/utils: fix atan2 parameter order
2024-01-14 19:40 [FFmpeg-devel] [PATCH] doc/utils: fix atan2 parameter order Haixia Shi via ffmpeg-devel
@ 2024-01-16 0:08 ` Stefano Sabatini
0 siblings, 0 replies; 2+ messages in thread
From: Stefano Sabatini @ 2024-01-16 0:08 UTC (permalink / raw)
To: FFmpeg development discussions and patches; +Cc: Haixia Shi
On date Sunday 2024-01-14 19:40:48 +0000, ffmpeg-devel Mailing List wrote:
> The C library function double atan2(double y, double x) takes y as the first
> parameter and x as the second parameter.
>
> Signed-off-by: Haixia Shi <hshi@meta.com>
> ---
> doc/utils.texi | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/doc/utils.texi b/doc/utils.texi
> index 0c4f146f4f..76e704fc3c 100644
> --- a/doc/utils.texi
> +++ b/doc/utils.texi
> @@ -815,7 +815,7 @@ Compute arcsine of @var{x}.
> @item atan(x)
> Compute arctangent of @var{x}.
>
> -@item atan2(x, y)
> +@item atan2(y, x)
> Compute principal value of the arc tangent of @var{y}/@var{x}.
Applied, thanks.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-16 0:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-14 19:40 [FFmpeg-devel] [PATCH] doc/utils: fix atan2 parameter order Haixia Shi via ffmpeg-devel
2024-01-16 0:08 ` Stefano Sabatini
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git