]> git.ipfire.org Git - thirdparty/gcc.git/commit - libquadmath/quadmath.h
PR fortran/46416
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jan 2011 16:44:35 +0000 (16:44 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Jan 2011 16:44:35 +0000 (16:44 +0000)
commite7b8ec290314a24d67f8256c75b34a6a627c5205
treecbbd98da06ef06f334e26d4cd08eea03e60befdb
parentb12676a5853278cf006fbc0908d35cb9d5ba7adc
PR fortran/46416
* quadmath.h (cbrtq, finiteq, isnanq, signbitq, sqrtq): Remove
const from prototype argument.
(cimagq, conjq, cprojq, crealq, fdimq, fmaxq, fminq, ilogbq,
llrintq, log2q, lrintq, nearbyintq, remquoq): New prototypes.
(__quadmath_extern_inline): Define.
(cimagq, conjq, crealq): New inlines.
* Makefile.am (libquadmath_la_SOURCES): Add math/cimagq.c,
math/conjq.c, math/cprojq.c, math/crealq.c, math/fdimq.c,
math/fmaxq.c, math/fminq.c, math/ilogbq.c, math/llrintq.c,
math/log2q.c, math/lrintq.c, math/nearbyintq.c and math/remquoq.c.
* Makefile.in: Regenerated.
* quadmath_weak.h (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
* quadmath-imp.h (__LITTLE_ENDIAN__): Don't define.
(ieee854_float128): Use __BYTE_ORDER == __ORDER_BIG_ENDIAN__
tests instead of __BIG_ENDIAN__.
* quadmath.map (QUADMATH_1.0): Add cimagq, conjq, cprojq, crealq,
fdimq, fmaxq, fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq
and remquoq.
* libquadmath.texi (cimagq, conjq, cprojq, crealq, fdimq, fmaxq,
fminq, ilogbq, llrintq, log2q, lrintq, nearbyintq, remquoq): Add.
* math/cprojq.c: New file.
* math/ilogbq.c: New file.
* math/fminq.c: New file.
* math/llrintq.c: New file.
* math/log2q.c: New file.
* math/lrintq.c: New file.
* math/crealq.c: New file.
* math/nearbyintq.c: New file.
* math/fmaxq.c: New file.
* math/conjq.c: New file.
* math/remquoq.c: New file.
* math/cimagq.c: New file.
* math/fdimq.c: New file.

* math/ldexpq.c: Include errno.h.  Set errno to ERANGE if needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168854 138bc75d-0d04-0410-961f-82ee72b054a4
22 files changed:
libquadmath/ChangeLog
libquadmath/Makefile.am
libquadmath/Makefile.in
libquadmath/libquadmath.texi
libquadmath/math/cimagq.c [new file with mode: 0644]
libquadmath/math/conjq.c [new file with mode: 0644]
libquadmath/math/cprojq.c [new file with mode: 0644]
libquadmath/math/crealq.c [new file with mode: 0644]
libquadmath/math/fdimq.c [new file with mode: 0644]
libquadmath/math/fmaxq.c [new file with mode: 0644]
libquadmath/math/fminq.c [new file with mode: 0644]
libquadmath/math/ilogbq.c [new file with mode: 0644]
libquadmath/math/ldexpq.c
libquadmath/math/llrintq.c [new file with mode: 0644]
libquadmath/math/log2q.c [new file with mode: 0644]
libquadmath/math/lrintq.c [new file with mode: 0644]
libquadmath/math/nearbyintq.c [new file with mode: 0644]
libquadmath/math/remquoq.c [new file with mode: 0644]
libquadmath/quadmath-imp.h
libquadmath/quadmath.h
libquadmath/quadmath.map
libquadmath/quadmath_weak.h