How to use sqrtf in gcc?
Frank Schafer
frank.schafer@setuza.cz
Wed Jan 30 01:11:00 GMT 2002
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
More information about the Gcc-help
mailing list