From owner-freebsd-questions Sun Aug 18 22:54:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8792737B400 for ; Sun, 18 Aug 2002 22:54:34 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2393743E6A for ; Sun, 18 Aug 2002 22:54:34 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (513fc8c7cbfdc163014c3565c0c7f501@localhost [127.0.0.1]) by vectors.cx (8.12.4/8.12.4) with ESMTP id g7J4Wm2e019333; Sun, 18 Aug 2002 21:32:48 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.4/8.12.4/Submit) id g7J4Wmoi019332; Sun, 18 Aug 2002 21:32:48 -0700 (PDT) (envelope-from monkey) Date: Sun, 18 Aug 2002 21:32:48 -0700 From: Adam Weinberger To: Mikhail Teterin Cc: questions@FreeBSD.ORG Subject: Re: pow(3) on FreeBSD Message-ID: <20020819043248.GT56964@vectors.cx> Mail-Followup-To: Adam Weinberger , Mikhail Teterin , questions@FreeBSD.ORG References: <200208190413.g7J4DEcw051123@corbulon.video-collage.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200208190413.g7J4DEcw051123@corbulon.video-collage.com> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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