Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2000 09:29:34 -0600 (CST)
From:      mark tinguely <tinguely@web.cs.ndsu.nodak.edu>
To:        freebsd-questions@FreeBSD.ORG, greid@dogma.freebsd-uk.eu.org
Subject:   Re: Trigonometric functions in kernel-land?
Message-ID:  <200011091529.JAA98855@web.cs.ndsu.nodak.edu>
In-Reply-To: <Pine.BSF.4.21.0011090208430.1972-100000@sobek.nevernet.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On  Thu, 9 Nov 2000, George Reid <greid@dogma.freebsd-uk.eu.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011091529.JAA98855>