Date: Wed, 12 Feb 2003 21:03:29 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Parveen Patel <ppatel@cs.utah.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: floating point in the kernel Message-ID: <20030213030329.GA37594@dan.emsphone.com> In-Reply-To: <20030212194757.U25147-100000@bas.flux.utah.edu> References: <20030213001316.GD1980@dan.emsphone.com> <20030212194757.U25147-100000@bas.flux.utah.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 12), Parveen Patel said: > Thanks for your response. My only concern is a square root operation > I have to do. Is there some standard routine that will do it for long > long or else I can pull out some code from gnu/i386/fpemul to do my > computations. Try http://www.azillionmonkeys.com/qed/sqroot.html , which has a whole bunch of sqrt functions. Also remember that if you're only comparing the sqrt to something else, it may be easier to square the rest of the equation instead. -- Dan Nelson dnelson@allantgroup.com 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?20030213030329.GA37594>