From owner-freebsd-questions Thu Nov 9 7:29:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from web.cs.ndsu.nodak.edu (web.cs.ndsu.NoDak.edu [134.129.125.7]) by hub.freebsd.org (Postfix) with ESMTP id C97AE37B479 for ; Thu, 9 Nov 2000 07:29:35 -0800 (PST) Received: (from tinguely@localhost) by web.cs.ndsu.nodak.edu (8.9.3/8.9.3) id JAA98855; Thu, 9 Nov 2000 09:29:34 -0600 (CST) (envelope-from tinguely) Date: Thu, 9 Nov 2000 09:29:34 -0600 (CST) From: mark tinguely Message-Id: <200011091529.JAA98855@web.cs.ndsu.nodak.edu> To: freebsd-questions@FreeBSD.ORG, greid@dogma.freebsd-uk.eu.org Subject: Re: Trigonometric functions in kernel-land? In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 9 Nov 2000, George Reid asked: > 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? please note, you will need to use the FPU emulation to do all desired floating point operations in the kernel. hardware floating point operations in the kernel will cause sporadic errors and crashes. --mark tinguely To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message