This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: How to use sqrtf in gcc?


On Wed, 2002-01-30 at 10:03, Frank Schafer wrote:
> On Wed, 2002-01-30 at 08:55, Rupert Wood wrote:
> > As an aside, I'm not sure how portable sqrtf is - certainly, my Solaris
> > and Interix don't know about it but HP/UX does.
> ...
> linux (glibc-2.2.4) has it.
>  
> 
> 
hoops ...

xcuse me, I was some quick. I remembered that I've used this already,
but there is an ( overloaded ) function

	float sqrt (float);

defined by g++-3.

For C it's probably not available. At least I don't find a definition in
/usr/include or /usr/include/bits.

Frank


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]