cmath and pow

Chris Prince prince@wcug.wwu.edu
Fri Oct 1 13:32:00 GMT 1999


Sorry it took so long to get you this info.  I have attached
powcmath.ii.gz which is what you asked for.  I have also attached the
c++config.h file if that is helpful.

On Thu, 30 Sep 1999, Benjamin Kosnik wrote:

> 
> No. Pre-process. There's a bunch of autoconf hackery in bits/std_cmath.h 
> to select between powf, pow, and a using a potential __builtin_pow or 
> whatever, depending on the host platform. The
> 
> The problem probably is probably that bits/std_cmath.h is wrong, and the 
> wrong function is being called, or the right function is being called 
> with the wrong alignment. 
> 
> So, do a 
> 
> g++ -E yourtestfile.cc -o yourtestfile.ii
> 
> And either tar/gzip it and post to this list or send to Gaby and or I. 
> Another alternative is to post the generated bits/c++config.h, and it's 
> possible to deduce the rest from the defines in bits/std_cmath.h
> 
> Thanks,
> Benjamin
> 
> 
> On Thu, 30 Sep 1999, Chris Prince wrote:
> 
> > > Then I'd like to see pow() prototype (in <math.h>)
> > 
> >   Sorry about that, the prototype is actually in __math.h and looks like
> > this...
> > __MATH_INLINE double pow (double __x, double __y);
> > __MATH_INLINE double
> > pow (double __x, double __y)
> > {
> 

Chris :)
prince@wcug.wwu.edu
===================
What is "Windows 95/98"?
32 bit extensions for a 16 bit patch to an 8 bit operating system
originally coded for a 4 bit microprocessor written by a 2 bit company
that can't stand 1 bit of competition




More information about the Libstdc++ mailing list