Date: Sun, 18 Aug 2002 21:32:48 -0700 From: Adam Weinberger <adam@vectors.cx> To: Mikhail Teterin <mi@corbulon.video-collage.com> Cc: questions@FreeBSD.ORG Subject: Re: pow(3) on FreeBSD Message-ID: <20020819043248.GT56964@vectors.cx> In-Reply-To: <200208190413.g7J4DEcw051123@corbulon.video-collage.com> References: <200208190413.g7J4DEcw051123@corbulon.video-collage.com>
next in thread | previous in thread | raw e-mail | index | archive | help
see powf(3).
-Adam
>> (08.18.2002 @ 2113 PST): Mikhail Teterin said, in 0.4K: <<
> Hi!
>
> In accordance with its man-page entry, pow(3) will return 0 if
> its second argument is not an integer. Why is that? What's the
> reasoning and what is a workaround -- I'm trying to port an
> application from Solaris, which uses pow(3) quite heavily...
>
> Needless to say, Solaris' pow works properly for non-integer
> arguments...
>
> Thanks!
>
> -mi
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
>> end of "pow(3) on FreeBSD" from Mikhail Teterin <<
--
"Oh good, my dog found the chainsaw."
-Lilo, "Lilo & Stitch"
Adam Weinberger
adam@vectors.cx
http://vectors.cx
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020819043248.GT56964>
