Message ID | BY3PR15MB4898E91B9C80808AA606938BB26D2@BY3PR15MB4898.namprd15.prod.outlook.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel] doc/utils: fix atan2 parameter order | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | fail | Make fate failed |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | fail | Make fate failed |
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.
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)
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(-) -- 2.31.1