From 8201317d7f98181bea64357a8e742853193b45e6 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Mon, 5 Dec 2005 21:48:17 +0000 Subject: [PATCH] * doc/libgcc.texi (__floatunsisf, __floatunsidf, __floatunsitf, __floatunsixf, __floatundisf, __floatundidf, __floatunditf, __floatundixf, __floatuntisf, __floatuntidf, __floatuntitf, __floatuntixf, __powisf2, __powidf2, __powixf2, __mulsc3, __muldc3, __multc3, __mulxc3, __divsc3, __divdc3, __divtc3, __divxc3): Document. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108077 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 9 +++++++++ gcc/doc/libgcc.texi | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 57 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 253b37e7490..f9c5b17373d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2005-12-05 Joseph S. Myers + + * doc/libgcc.texi (__floatunsisf, __floatunsidf, __floatunsitf, + __floatunsixf, __floatundisf, __floatundidf, __floatunditf, + __floatundixf, __floatuntisf, __floatuntidf, __floatuntitf, + __floatuntixf, __powisf2, __powidf2, __powixf2, __mulsc3, + __muldc3, __multc3, __mulxc3, __divsc3, __divdc3, __divtc3, + __divxc3): Document. + 2005-12-05 Geoffrey Keating * config/arm/arm.c (arm_cxx_determine_class_data_visibility): Preserve diff --git a/gcc/doc/libgcc.texi b/gcc/doc/libgcc.texi index 8d71f957d7d..c97bd8b7497 100644 --- a/gcc/doc/libgcc.texi +++ b/gcc/doc/libgcc.texi @@ -1,4 +1,4 @@ -@c Copyright (C) 2003, 2004 Free Software Foundation, Inc. +@c Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. @c This is part of the GCC manual. @c For copying conditions, see the file gcc.texi. @c Contributed by Aldy Hernandez @@ -356,6 +356,27 @@ These functions convert @var{i}, a signed long, to floating point. These functions convert @var{i}, a signed long long, to floating point. @end deftypefn +@deftypefn {Runtime Function} float __floatunsisf (unsigned int @var{i}) +@deftypefnx {Runtime Function} double __floatunsidf (unsigned int @var{i}) +@deftypefnx {Runtime Function} {long double} __floatunsitf (unsigned int @var{i}) +@deftypefnx {Runtime Function} {long double} __floatunsixf (unsigned int @var{i}) +These functions convert @var{i}, an unsigned integer, to floating point. +@end deftypefn + +@deftypefn {Runtime Function} float __floatundisf (unsigned long @var{i}) +@deftypefnx {Runtime Function} double __floatundidf (unsigned long @var{i}) +@deftypefnx {Runtime Function} {long double} __floatunditf (unsigned long @var{i}) +@deftypefnx {Runtime Function} {long double} __floatundixf (unsigned long @var{i}) +These functions convert @var{i}, an unsigned long, to floating point. +@end deftypefn + +@deftypefn {Runtime Function} float __floatuntisf (unsigned long long @var{i}) +@deftypefnx {Runtime Function} double __floatuntidf (unsigned long long @var{i}) +@deftypefnx {Runtime Function} {long double} __floatuntitf (unsigned long long @var{i}) +@deftypefnx {Runtime Function} {long double} __floatuntixf (unsigned long long @var{i}) +These functions convert @var{i}, an unsigned long long, to floating point. +@end deftypefn + @subsection Comparison functions There are two sets of basic comparison functions. @@ -438,6 +459,32 @@ These functions return a value greater than zero if neither argument is NaN, and @var{a} is strictly greater than @var{b}. @end deftypefn +@subsection Other floating-point functions + +@deftypefn {Runtime Function} float __powisf2 (float @var{a}, int @var{b}) +@deftypefnx {Runtime Function} double __powidf2 (double @var{a}, int @var{b}) +@deftypefnx {Runtime Function} {long double} __powitf2 (long double @var{a}, int @var{b}) +@deftypefnx {Runtime Function} {long double} __powixf2 (long double @var{a}, int @var{b}) +These functions convert raise @var{a} to the power @var{b}. +@end deftypefn + +@deftypefn {Runtime Function} {complex float} __mulsc3 (float @var{a}, float @var{b}, float @var{c}, float @var{d}) +@deftypefnx {Runtime Function} {complex double} __muldc3 (double @var{a}, double @var{b}, double @var{c}, double @var{d}) +@deftypefnx {Runtime Function} {complex long double} __multc3 (long double @var{a}, long double @var{b}, long double @var{c}, long double @var{d}) +@deftypefnx {Runtime Function} {complex long double} __mulxc3 (long double @var{a}, long double @var{b}, long double @var{c}, long double @var{d}) +These functions return the product of @math{@var{a} + i@var{b}} and +@math{@var{c} + i@var{d}}, following the rules of C99 Annex G@. +@end deftypefn + +@deftypefn {Runtime Function} {complex float} __divsc3 (float @var{a}, float @var{b}, float @var{c}, float @var{d}) +@deftypefnx {Runtime Function} {complex double} __divdc3 (double @var{a}, double @var{b}, double @var{c}, double @var{d}) +@deftypefnx {Runtime Function} {complex long double} __divtc3 (long double @var{a}, long double @var{b}, long double @var{c}, long double @var{d}) +@deftypefnx {Runtime Function} {complex long double} __divxc3 (long double @var{a}, long double @var{b}, long double @var{c}, long double @var{d}) +These functions return the quotient of @math{@var{a} + i@var{b}} and +@math{@var{c} + i@var{d}} (i.e., @math{(@var{a} + i@var{b}) / (@var{c} ++ i@var{d})}), following the rules of C99 Annex G@. +@end deftypefn + @node Exception handling routines @section Language-independent routines for exception handling -- 2.11.4.GIT