1<html lang="en"> 2<head> 3<title>Typedef and constants - GCC libquadmath</title> 4<meta http-equiv="Content-Type" content="text/html"> 5<meta name="description" content="GCC libquadmath"> 6<meta name="generator" content="makeinfo 4.13"> 7<link title="Top" rel="start" href="index.html#Top"> 8<link rel="prev" href="index.html#Top" title="Top"> 9<link rel="next" href="Math-Library-Routines.html#Math-Library-Routines" title="Math Library Routines"> 10<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> 11<!-- 12Copyright (C) 2010 Free Software Foundation, Inc. 13 14 Permission is granted to copy, distribute and/or modify this 15 document under the terms of the GNU Free Documentation License, 16 Version 1.2 or any later version published by the Free Software 17 Foundation; with no Invariant Sections, with the Front-Cover Texts 18 being ``A GNU Manual,'' and with the Back-Cover Texts as in (a) 19 below. A copy of the license is included in the section entitled 20 ``GNU Free Documentation License.'' 21 22 (a) The FSF's Back-Cover Text is: ``You have the freedom to copy 23 and modify this GNU manual. 24 --> 25<meta http-equiv="Content-Style-Type" content="text/css"> 26<style type="text/css"><!-- 27 pre.display { font-family:inherit } 28 pre.format { font-family:inherit } 29 pre.smalldisplay { font-family:inherit; font-size:smaller } 30 pre.smallformat { font-family:inherit; font-size:smaller } 31 pre.smallexample { font-size:smaller } 32 pre.smalllisp { font-size:smaller } 33 span.sc { font-variant:small-caps } 34 span.roman { font-family:serif; font-weight:normal; } 35 span.sansserif { font-family:sans-serif; font-weight:normal; } 36--></style> 37<link rel="stylesheet" type="text/css" href="../cs.css"> 38</head> 39<body> 40<div class="node"> 41<a name="Typedef-and-constants"></a> 42<p> 43Next: <a rel="next" accesskey="n" href="Math-Library-Routines.html#Math-Library-Routines">Math Library Routines</a>, 44Previous: <a rel="previous" accesskey="p" href="index.html#Top">Top</a>, 45Up: <a rel="up" accesskey="u" href="index.html#Top">Top</a> 46<hr> 47</div> 48 49<h2 class="chapter">1 Typedef and constants</h2> 50 51<p>The following data type has been defined via <code>typedef</code>. 52 53 <dl> 54<dt><code>__complex128</code>: <code>__float128</code>-based complex number<dd></dl> 55 56 <p>The following macros are defined, which give the numeric limits of the 57<code>__float128</code> data type. 58 59 <dl> 60<dt><code>FLT128_MAX</code>: largest finite number<br><dt><code>FLT128_MIN</code>: smallest positive number with full precision<br><dt><code>FLT128_EPSILON</code>: difference between 1 and the next larger<dd> representable number 61<br><dt><code>FLT128_DENORM_MIN</code>: smallest positive denormalized number<br><dt><code>FLT128_MANT_DIG</code>: number of digits in the mantissa (bit precision)<br><dt><code>FLT128_MIN_EXP</code>: maximal negative exponent<br><dt><code>FLT128_MAX_EXP</code>: maximal positive exponent<br><dt><code>FLT128_DIG</code>: number of decimal digits in the mantissa<br><dt><code>FLT128_MIN_10_EXP</code>: maximal negative decimal exponent<br><dt><code>FLT128_MAX_10_EXP</code>: maximal positive decimal exponent<dd></dl> 62 63 <p>The following mathematical constants of type <code>__float128</code> are defined. 64 65 <dl> 66<dt><code>M_Eq</code>: the constant e (Euler's number)<br><dt><code>M_LOG2Eq</code>: binary logarithm of 2<br><dt><code>M_LOG10Eq</code>: common, decimal logarithm of 2<br><dt><code>M_LN2q</code>: natural logarithm of 2<br><dt><code>M_LN10q</code>: natural logarithm of 10<br><dt><code>M_PIq</code>: pi<br><dt><code>M_PI_2q</code>: two pi<br><dt><code>M_PI_4q</code>: four pi<br><dt><code>M_1_PIq</code>: one over pi<br><dt><code>M_2_PIq</code>: one over two pi<br><dt><code>M_2_SQRTPIq</code>: two over square root of pi<br><dt><code>M_SQRT2q</code>: square root of 2<br><dt><code>M_SQRT1_2q</code>: one over square root of 2<dd></dl> 67 68<!-- --> 69<!-- Math routines --> 70<!-- --> 71 </body></html> 72 73