X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=libquadmath%2Flibquadmath.texi;h=253895f7ef9a68b9a94d06b1f6f48662738ca2b3;hb=110d0820bfcb421b8c680409cf5c65aa2a0b4b8e;hp=f2557c8e61ac840b407f5360401d19ed13ed9e59;hpb=a855debfb46ec3e3171b955cfc9c0f4e62dffcf2;p=gcc.git diff --git a/libquadmath/libquadmath.texi b/libquadmath/libquadmath.texi index f2557c8e61a..253895f7ef9 100644 --- a/libquadmath/libquadmath.texi +++ b/libquadmath/libquadmath.texi @@ -6,7 +6,7 @@ @c %**end of header @copying -Copyright @copyright{} 2010 Free Software Foundation, Inc. +Copyright @copyright{} 2010-2020 Free Software Foundation, Inc. @quotation Permission is granted to copy, distribute and/or modify this document @@ -123,8 +123,8 @@ The following mathematical constants of type @code{__float128} are defined. @item @code{M_LN2q}: natural logarithm of 2 @item @code{M_LN10q}: natural logarithm of 10 @item @code{M_PIq}: pi -@item @code{M_PI_2q}: two pi -@item @code{M_PI_4q}: four pi +@item @code{M_PI_2q}: pi divided by two +@item @code{M_PI_4q}: pi divided by four @item @code{M_1_PIq}: one over pi @item @code{M_2_PIq}: one over two pi @item @code{M_2_SQRTPIq}: two over square root of pi @@ -157,6 +157,7 @@ The following mathematical functions are available: @item @code{cosq}: cosine function @item @code{erfq}: error function @item @code{erfcq}: complementary error function +@item @code{exp2q}: base 2 exponential function @item @code{expq}: exponential function @item @code{expm1q}: exponential minus 1 function @need 800 @@ -173,6 +174,7 @@ The following mathematical functions are available: @item @code{ilogbq}: get exponent of the value @item @code{isinfq}: check for infinity @item @code{isnanq}: check for not a number +@item @code{issignalingq}: check for signaling not a number @item @code{j0q}: Bessel function of the first kind, first order @item @code{j1q}: Bessel function of the first kind, second order @item @code{jnq}: Bessel function of the first kind, @var{n}-th order @@ -180,6 +182,7 @@ The following mathematical functions are available: @item @code{lgammaq}: logarithmic gamma function @item @code{llrintq}: round to nearest integer value @item @code{llroundq}: round to nearest integer value away from zero +@item @code{logbq}: get exponent of the value @item @code{logq}: natural logarithm function @item @code{log10q}: base 10 logarithm function @item @code{log1pq}: compute natural logarithm of the value plus one @@ -199,7 +202,7 @@ The following mathematical functions are available: @item @code{scalblnq}: compute exponent using @code{FLT_RADIX} @item @code{scalbnq}: compute exponent using @code{FLT_RADIX} @item @code{signbitq}: return sign bit -@item @code{sincosq}: calculate sine and cosine simulataneously +@item @code{sincosq}: calculate sine and cosine simultaneously @item @code{sinhq}: hyperbolic sine function @item @code{sinq}: sine function @item @code{sqrtq}: square root function @@ -256,7 +259,7 @@ The following mathematical functions are available: @node strtoflt128 @section @code{strtoflt128} --- Convert from string -The function @code{dmath_strtopQ} converts a string into a +The function @code{strtoflt128} converts a string into a @code{__float128} number. @table @asis @@ -310,6 +313,11 @@ the format. @item @var{format} @tab conversion specifier string @end multitable +@item Note +On some targets when supported by the C library hooks are installed +for @code{printf} family of functions, so that @code{printf ("%Qe", 1.2Q);} +etc.@: works too. + @item Example @smallexample #include @@ -351,10 +359,6 @@ int main () @end table -On some targets when supported by the C library hooks are installed -for @code{printf} family of functions, so that @code{printf ("%Qe", 1.2Q);} -etc.@: works too. - @c --------------------------------------------------------------------- @c GNU Free Documentation License