OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libm/] [math/] [w_atan2.c] - Diff between revs 39 and 56

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 39 Rev 56
Line 97... Line 97...
            /* atan2(+-0,+-0) */
            /* atan2(+-0,+-0) */
            exc.arg1 = y;
            exc.arg1 = y;
            exc.arg2 = x;
            exc.arg2 = x;
            exc.type = DOMAIN;
            exc.type = DOMAIN;
            exc.name = "atan2";
            exc.name = "atan2";
 
            exc.err = 0;
            exc.retval = 0.0;
            exc.retval = 0.0;
            if(_LIB_VERSION == _POSIX_)
            if(_LIB_VERSION == _POSIX_)
               errno = EDOM;
               errno = EDOM;
            else if (!matherr(&exc)) {
            else if (!matherr(&exc)) {
               errno = EDOM;
               errno = EDOM;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.