From owner-freebsd-questions Wed Nov 8 18:43:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id E860B37B479 for ; Wed, 8 Nov 2000 18:43:42 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id eA92gPt05463; Wed, 8 Nov 2000 18:42:25 -0800 (PST) Date: Wed, 8 Nov 2000 18:42:25 -0800 From: Alfred Perlstein To: George Reid Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Trigonometric functions in kernel-land? Message-ID: <20001108184225.I5112@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from greid@dogma.freebsd-uk.eu.org on Thu, Nov 09, 2000 at 02:10:52AM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * George Reid [001108 18:08] wrote: > Hi, > I'm writing a kernel module which needs to make use of the sine. Is there > anything within the kernel that I can use for this, or do I have to write > my own (which I have done, but it's slow)? I know there's some trig stuff > in the FPU emulation code; can I use this? Using the FPU emulation code might be a good idea. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message