libstdc++/3181: Unable to use sqrt,cos,sin,... with int argument.

Wolfgang Bangerth bangerth@ticam.utexas.edu
Wed Nov 6 09:36:00 GMT 2002


The following reply was made to PR libstdc++/3181; it has been noted by GNATS.

From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: Gabriel Dos Reis <gdr@integrable-solutions.net>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libstdc++/3181: Unable to use sqrt,cos,sin,... with int argument.
Date: Wed, 6 Nov 2002 11:33:58 -0600 (CST)

 > |  However, are the overloads for int mandated?
 > 
 > No, there are not.  In fact adding such overloads would tehcnically
 > mean non-conformance (even though we all agree that C++ broke things
 > here).
 
 Right.
 
 > | I think not (only floating 
 > |  point types), and then the bug is not a bug and should be closed, right?
 > 
 > Well, mark it as a request-feature (I want to have it somehow "active"
 > but in the passive sense :-)
 
 OK, will do that and also suspend it so that us bug crawlers don't trip 
 over it again and again.
 
 Thanks
   W.
 
 -------------------------------------------------------------------------
 Wolfgang Bangerth              email:           bangerth@ticam.utexas.edu
                                www: http://www.ticam.utexas.edu/~bangerth
 
 



More information about the Gcc-prs mailing list