Author: cwittich
Date: Thu Sep  3 07:35:54 2015
New Revision: 68927

URL: http://svn.reactos.org/svn/reactos?rev=68927&view=rev
Log:
[CRT] atan2 pass arguments in the correct order CID 1322203

Modified:
    trunk/reactos/lib/sdk/crt/math/i386/ci.c

Modified: trunk/reactos/lib/sdk/crt/math/i386/ci.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/math/i386/ci.c?rev=68927&r1=68926&r2=68927&view=diff
==============================================================================
--- trunk/reactos/lib/sdk/crt/math/i386/ci.c    [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/math/i386/ci.c    [iso-8859-1] Thu Sep  3 
07:35:54 2015
@@ -62,7 +62,7 @@
 double CDECL   _CIatan2(void)
 {
        FPU_DOUBLES(x, y);
-       return atan2(x, y);
+       return atan2(y, x);
 }
 /*
  * @implemented


Reply via email to