aboutsummaryrefslogtreecommitdiff
path: root/libquadmath
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-11-13 22:03:35 +0100
committerMartin Liska <mliska@suse.cz>2022-11-14 09:35:07 +0100
commit191dbc35688262c9c2bb1d623950a197eff80b80 (patch)
treee0916846cb998030725c9785ee12158ed642fe75 /libquadmath
parent1191a412bb17a734c58716237382a8348b057546 (diff)
downloadgcc-191dbc35688262c9c2bb1d623950a197eff80b80.zip
gcc-191dbc35688262c9c2bb1d623950a197eff80b80.tar.gz
gcc-191dbc35688262c9c2bb1d623950a197eff80b80.tar.bz2
Revert "sphinx: copy files from texi2rst-generated repository"
This reverts commit c63539ffe4c0e327337a1a51f638d9c8c958cb26.
Diffstat (limited to 'libquadmath')
-rw-r--r--libquadmath/doc/conf.py24
-rw-r--r--libquadmath/doc/copyright.rst18
-rw-r--r--libquadmath/doc/gnu-free-documentation-license.rst6
-rw-r--r--libquadmath/doc/i-o-library-routines.rst15
-rw-r--r--libquadmath/doc/index.rst23
-rw-r--r--libquadmath/doc/indices-and-tables.rst1
-rw-r--r--libquadmath/doc/introduction.rst7
-rw-r--r--libquadmath/doc/math-library-routines.rst104
-rw-r--r--libquadmath/doc/quadmathsnprintf.rst74
-rw-r--r--libquadmath/doc/reporting-bugs.rst12
-rw-r--r--libquadmath/doc/strtoflt128.rst40
-rw-r--r--libquadmath/doc/typedef-and-constants.rst43
12 files changed, 0 insertions, 367 deletions
diff --git a/libquadmath/doc/conf.py b/libquadmath/doc/conf.py
deleted file mode 100644
index c3a84b6..0000000
--- a/libquadmath/doc/conf.py
+++ /dev/null
@@ -1,24 +0,0 @@
-# Configuration file for the Sphinx documentation builder.
-
-import sys
-sys.path.append('../..//doc')
-
-from baseconf import *
-
-name = 'libquadmath'
-project = 'The GCC Quad-Precision Math Library'
-copyright = '2010-2022 Free Software Foundation, Inc.'
-authors = 'GCC Developer Community'
-
-# Grouping the document tree into Texinfo files. List of tuples
-# (source start file, target name, title, author,
-# dir menu entry, description, category)
-latex_documents = [
- ('index', f'{name}.tex', project, authors, 'manual'),
-]
-
-texinfo_documents = [
- ('index', name, project, authors, None, None, None, True)
-]
-
-set_common(name, globals()) \ No newline at end of file
diff --git a/libquadmath/doc/copyright.rst b/libquadmath/doc/copyright.rst
deleted file mode 100644
index 75f73ea..0000000
--- a/libquadmath/doc/copyright.rst
+++ /dev/null
@@ -1,18 +0,0 @@
-..
- Copyright 1988-2022 Free Software Foundation, Inc.
- This is part of the GCC manual.
- For copying conditions, see the GPL license file
-
-Copyright
-^^^^^^^^^
-
-Permission is granted to copy, distribute and/or modify this document
-under the terms of the GNU Free Documentation License, Version 1.2 or
-any later version published by the Free Software Foundation; with no
-Invariant Sections, with the Front-Cover Texts being **A GNU Manual,**
-and with the Back-Cover Texts as in (a) below. A copy of the
-license is included in the section entitled :ref:`gnu_fdl`.
-
-(a) The FSF's Back-Cover Text is:
-
- You have the freedom to copy and modify this GNU manual. \ No newline at end of file
diff --git a/libquadmath/doc/gnu-free-documentation-license.rst b/libquadmath/doc/gnu-free-documentation-license.rst
deleted file mode 100644
index 089cc68..0000000
--- a/libquadmath/doc/gnu-free-documentation-license.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-..
- Copyright 1988-2022 Free Software Foundation, Inc.
- This is part of the GCC manual.
- For copying conditions, see the copyright.rst file.
-
-.. include:: ../../doc/gnu_free_documentation_license.rst \ No newline at end of file
diff --git a/libquadmath/doc/i-o-library-routines.rst b/libquadmath/doc/i-o-library-routines.rst
deleted file mode 100644
index 4f33373..0000000
--- a/libquadmath/doc/i-o-library-routines.rst
+++ /dev/null
@@ -1,15 +0,0 @@
-..
- Copyright 1988-2022 Free Software Foundation, Inc.
- This is part of the GCC manual.
- For copying conditions, see the copyright.rst file.
-
-.. _i-o-library-routines:
-
-I/O Library Routines
---------------------
-
-.. toctree::
- :maxdepth: 2
-
- strtoflt128
- quadmathsnprintf \ No newline at end of file
diff --git a/libquadmath/doc/index.rst b/libquadmath/doc/index.rst
deleted file mode 100644
index 4eb70f9..0000000
--- a/libquadmath/doc/index.rst
+++ /dev/null
@@ -1,23 +0,0 @@
-..
- Copyright 1988-2022 Free Software Foundation, Inc.
- This is part of the GCC manual.
- For copying conditions, see the copyright.rst file.
-
-GCC libquadmath
-===============
-
-.. only:: html
-
- Contents:
-
-.. toctree::
-
- copyright
- introduction
- typedef-and-constants
- math-library-routines
- i-o-library-routines
- gnu-free-documentation-license
- reporting-bugs
-
- indices-and-tables \ No newline at end of file
diff --git a/libquadmath/doc/indices-and-tables.rst b/libquadmath/doc/indices-and-tables.rst
deleted file mode 100644
index 9799e4e..0000000
--- a/libquadmath/doc/indices-and-tables.rst
+++ /dev/null
@@ -1 +0,0 @@
-.. include:: ../../doc/indices-and-tables.rst \ No newline at end of file
diff --git a/libquadmath/doc/introduction.rst b/libquadmath/doc/introduction.rst
deleted file mode 100644
index 27fa8f2..0000000
--- a/libquadmath/doc/introduction.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-Introduction
-============
-
-.. index:: Introduction
-
-This manual documents the usage of libquadmath, the GCC Quad-Precision
-Math Library Application Programming Interface (API). \ No newline at end of file
diff --git a/libquadmath/doc/math-library-routines.rst b/libquadmath/doc/math-library-routines.rst
deleted file mode 100644
index 78cd8ee..0000000
--- a/libquadmath/doc/math-library-routines.rst
+++ /dev/null
@@ -1,104 +0,0 @@
-..
- Copyright 1988-2022 Free Software Foundation, Inc.
- This is part of the GCC manual.
- For copying conditions, see the copyright.rst file.
-
-.. _math-library-routines:
-
-Math Library Routines
----------------------
-
-The following mathematical functions are available:
-
-* :samp:`{acosq}`: arc cosine function
-* :samp:`{acoshq}`: inverse hyperbolic cosine function
-* :samp:`{asinq}`: arc sine function
-* :samp:`{asinhq}`: inverse hyperbolic sine function
-* :samp:`{atanq}`: arc tangent function
-* :samp:`{atanhq}`: inverse hyperbolic tangent function
-* :samp:`{atan2q}`: arc tangent function
-* :samp:`{cbrtq}`: cube root function
-* :samp:`{ceilq}`: ceiling value function
-* :samp:`{copysignq}`: copy sign of a number
-* :samp:`{coshq}`: hyperbolic cosine function
-* :samp:`{cosq}`: cosine function
-* :samp:`{erfq}`: error function
-* :samp:`{erfcq}`: complementary error function
-* :samp:`{exp2q}`: base 2 exponential function
-* :samp:`{expq}`: exponential function
-* :samp:`{expm1q}`: exponential minus 1 function
-* :samp:`{fabsq}`: absolute value function
-* :samp:`{fdimq}`: positive difference function
-* :samp:`{finiteq}`: check finiteness of value
-* :samp:`{floorq}`: floor value function
-* :samp:`{fmaq}`: fused multiply and add
-* :samp:`{fmaxq}`: determine maximum of two values
-* :samp:`{fminq}`: determine minimum of two values
-* :samp:`{fmodq}`: remainder value function
-* :samp:`{frexpq}`: extract mantissa and exponent
-* :samp:`{hypotq}`: Eucledian distance function
-* :samp:`{ilogbq}`: get exponent of the value
-* :samp:`{isinfq}`: check for infinity
-* :samp:`{isnanq}`: check for not a number
-* :samp:`{issignalingq}`: check for signaling not a number
-* :samp:`{j0q}`: Bessel function of the first kind, first order
-* :samp:`{j1q}`: Bessel function of the first kind, second order
-* :samp:`{jnq}`: Bessel function of the first kind, {n}-th order
-* :samp:`{ldexpq}`: load exponent of the value
-* :samp:`{lgammaq}`: logarithmic gamma function
-* :samp:`{llrintq}`: round to nearest integer value
-* :samp:`{llroundq}`: round to nearest integer value away from zero
-* :samp:`{logbq}`: get exponent of the value
-* :samp:`{logq}`: natural logarithm function
-* :samp:`{log10q}`: base 10 logarithm function
-* :samp:`{log1pq}`: compute natural logarithm of the value plus one
-* :samp:`{log2q}`: base 2 logarithm function
-* :samp:`{lrintq}`: round to nearest integer value
-* :samp:`{lroundq}`: round to nearest integer value away from zero
-* :samp:`{modfq}`: decompose the floating-point number
-* :samp:`{nanq}`: return quiet NaN
-* :samp:`{nearbyintq}`: round to nearest integer
-* :samp:`{nextafterq}`: next representable floating-point number
-* :samp:`{powq}`: power function
-* :samp:`{remainderq}`: remainder function
-* :samp:`{remquoq}`: remainder and part of quotient
-* :samp:`{rintq}`: round-to-nearest integral value
-* :samp:`{roundq}`: round-to-nearest integral value, return {__float128}
-* :samp:`{scalblnq}`: compute exponent using {FLT_RADIX}
-* :samp:`{scalbnq}`: compute exponent using {FLT_RADIX}
-* :samp:`{signbitq}`: return sign bit
-* :samp:`{sincosq}`: calculate sine and cosine simultaneously
-* :samp:`{sinhq}`: hyperbolic sine function
-* :samp:`{sinq}`: sine function
-* :samp:`{sqrtq}`: square root function
-* :samp:`{tanq}`: tangent function
-* :samp:`{tanhq}`: hyperbolic tangent function
-* :samp:`{tgammaq}`: true gamma function
-* :samp:`{truncq}`: round to integer, towards zero
-* :samp:`{y0q}`: Bessel function of the second kind, first order
-* :samp:`{y1q}`: Bessel function of the second kind, second order
-* :samp:`{ynq}`: Bessel function of the second kind, {n}-th order
-* :samp:`{cabsq}`: complex absolute value function
-* :samp:`{cargq}`: calculate the argument
-* :samp:`{cimagq}`: imaginary part of complex number
-* :samp:`{crealq}`: real part of complex number
-* :samp:`{cacoshq}`: complex arc hyperbolic cosine function
-* :samp:`{cacosq}`: complex arc cosine function
-* :samp:`{casinhq}`: complex arc hyperbolic sine function
-* :samp:`{casinq}`: complex arc sine function
-* :samp:`{catanhq}`: complex arc hyperbolic tangent function
-* :samp:`{catanq}`: complex arc tangent function
-* :samp:`{ccosq}`: complex cosine function
-* :samp:`{ccoshq}`: complex hyperbolic cosine function
-* :samp:`{cexpq}`: complex exponential function
-* :samp:`{cexpiq}`: computes the exponential function of 'i' times a real value
-* :samp:`{clogq}`: complex natural logarithm
-* :samp:`{clog10q}`: complex base 10 logarithm
-* :samp:`{conjq}`: complex conjugate function
-* :samp:`{cpowq}`: complex power function
-* :samp:`{cprojq}`: project into Riemann Sphere
-* :samp:`{csinq}`: complex sine function
-* :samp:`{csinhq}`: complex hyperbolic sine function
-* :samp:`{csqrtq}`: complex square root
-* :samp:`{ctanq}`: complex tangent function
-* :samp:`{ctanhq}`: complex hyperbolic tangent function \ No newline at end of file
diff --git a/libquadmath/doc/quadmathsnprintf.rst b/libquadmath/doc/quadmathsnprintf.rst
deleted file mode 100644
index aad0e07..0000000
--- a/libquadmath/doc/quadmathsnprintf.rst
+++ /dev/null
@@ -1,74 +0,0 @@
-..
- Copyright 1988-2022 Free Software Foundation, Inc.
- This is part of the GCC manual.
- For copying conditions, see the copyright.rst file.
-
-.. _quadmath_snprintf:
-
-quadmath_snprintf --- Convert to string
-***************************************
-
-The function ``quadmath_snprintf`` converts a ``__float128`` floating-point
-number into a string. It is a specialized alternative to ``snprintf``, where
-the format string is restricted to a single conversion specifier with ``Q``
-modifier and conversion specifier ``e``, ``E``, ``f``, ``F``, ``g``,
-``G``, ``a`` or ``A``, with no extra characters before or after the
-conversion specifier. The ``%m$`` or ``*m$`` style must not be used in
-the format.
-
-Syntax:
- ``int quadmath_snprintf (char *s, size_t size, const char *format, ...)``
-
-Arguments:
- .. list-table::
-
- * - :samp:`{s}`
- - output string
- * - :samp:`{size}`
- - byte size of the string, including trailing NUL
- * - :samp:`{format}`
- - conversion specifier string
-
-Note:
- On some targets when supported by the C library hooks are installed
- for ``printf`` family of functions, so that ``printf ("%Qe", 1.2Q);``
- etc. works too.
-
-Example:
- .. code-block:: c++
-
- #include <quadmath.h>
- #include <stdlib.h>
- #include <stdio.h>
-
- int main ()
- {
- __float128 r;
- int prec = 20;
- int width = 46;
- char buf[128];
-
- r = 2.0q;
- r = sqrtq (r);
- int n = quadmath_snprintf (buf, sizeof buf, "%+-#*.20Qe", width, r);
- if ((size_t) n < sizeof buf)
- printf ("%s\n", buf);
- /* Prints: +1.41421356237309504880e+00 */
- quadmath_snprintf (buf, sizeof buf, "%Qa", r);
- if ((size_t) n < sizeof buf)
- printf ("%s\n", buf);
- /* Prints: 0x1.6a09e667f3bcc908b2fb1366ea96p+0 */
- n = quadmath_snprintf (NULL, 0, "%+-#46.*Qe", prec, r);
- if (n > -1)
- {
- char *str = malloc (n + 1);
- if (str)
- {
- quadmath_snprintf (str, n + 1, "%+-#46.*Qe", prec, r);
- printf ("%s\n", str);
- /* Prints: +1.41421356237309504880e+00 */
- }
- free (str);
- }
- return 0;
- } \ No newline at end of file
diff --git a/libquadmath/doc/reporting-bugs.rst b/libquadmath/doc/reporting-bugs.rst
deleted file mode 100644
index 54532e9..0000000
--- a/libquadmath/doc/reporting-bugs.rst
+++ /dev/null
@@ -1,12 +0,0 @@
-..
- Copyright 1988-2022 Free Software Foundation, Inc.
- This is part of the GCC manual.
- For copying conditions, see the copyright.rst file.
-
-.. _reporting-bugs:
-
-Reporting Bugs
---------------
-
-Bugs in the GCC Quad-Precision Math Library implementation should be
-reported via |bugurl|. \ No newline at end of file
diff --git a/libquadmath/doc/strtoflt128.rst b/libquadmath/doc/strtoflt128.rst
deleted file mode 100644
index d0a073d..0000000
--- a/libquadmath/doc/strtoflt128.rst
+++ /dev/null
@@ -1,40 +0,0 @@
-..
- Copyright 1988-2022 Free Software Foundation, Inc.
- This is part of the GCC manual.
- For copying conditions, see the copyright.rst file.
-
-.. _strtoflt128:
-
-strtoflt128 --- Convert from string
-***********************************
-
-The function ``strtoflt128`` converts a string into a
-``__float128`` number.
-
-Syntax:
- ``__float128 strtoflt128 (const char *s, char **sp)``
-
-Arguments:
- .. list-table::
-
- * - :samp:`{s}`
- - input string
- * - :samp:`{sp}`
- - the address of the next character in the string
-
- The argument :samp:`{sp}` contains, if not ``NULL``, the address of the
- next character following the parts of the string, which have been read.
-
-Example:
- .. code-block:: c++
-
- #include <quadmath.h>
-
- int main ()
- {
- __float128 r;
-
- r = strtoflt128 ("1.2345678", NULL);
-
- return 0;
- } \ No newline at end of file
diff --git a/libquadmath/doc/typedef-and-constants.rst b/libquadmath/doc/typedef-and-constants.rst
deleted file mode 100644
index cbd9d76..0000000
--- a/libquadmath/doc/typedef-and-constants.rst
+++ /dev/null
@@ -1,43 +0,0 @@
-..
- Copyright 1988-2022 Free Software Foundation, Inc.
- This is part of the GCC manual.
- For copying conditions, see the copyright.rst file.
-
-.. _typedef-and-constants:
-
-Typedef and constants
----------------------
-
-The following data type has been defined via ``typedef``.
-
-* :samp:`{__complex128}`: ``__float128``-based complex number
-
-The following macros are defined, which give the numeric limits of the
-``__float128`` data type.
-
-* :samp:`{FLT128_MAX}`: largest finite number
-* :samp:`{FLT128_MIN}`: smallest positive number with full precision
-* :samp:`{FLT128_EPSILON}`: difference between 1 and the next larger representable number
-* :samp:`{FLT128_DENORM_MIN}`: smallest positive denormalized number
-* :samp:`{FLT128_MANT_DIG}`: number of digits in the mantissa (bit precision)
-* :samp:`{FLT128_MIN_EXP}`: maximal negative exponent
-* :samp:`{FLT128_MAX_EXP}`: maximal positive exponent
-* :samp:`{FLT128_DIG}`: number of decimal digits in the mantissa
-* :samp:`{FLT128_MIN_10_EXP}`: maximal negative decimal exponent
-* :samp:`{FLT128_MAX_10_EXP}`: maximal positive decimal exponent
-
-The following mathematical constants of type ``__float128`` are defined.
-
-* :samp:`{M_Eq}`: the constant e (Euler's number)
-* :samp:`{M_LOG2Eq}`: binary logarithm of 2
-* :samp:`{M_LOG10Eq}`: common, decimal logarithm of 2
-* :samp:`{M_LN2q}`: natural logarithm of 2
-* :samp:`{M_LN10q}`: natural logarithm of 10
-* :samp:`{M_PIq}`: pi
-* :samp:`{M_PI_2q}`: pi divided by two
-* :samp:`{M_PI_4q}`: pi divided by four
-* :samp:`{M_1_PIq}`: one over pi
-* :samp:`{M_2_PIq}`: one over two pi
-* :samp:`{M_2_SQRTPIq}`: two over square root of pi
-* :samp:`{M_SQRT2q}`: square root of 2
-* :samp:`{M_SQRT1_2q}`: one over square root of 2 \ No newline at end of file