Re: sqrt in kernel?

2001-05-20 Thread Ingo Molnar
On Mon, 21 May 2001, Matti Aarnio wrote: > In some cases even the fast-paths carry FP/MMX code, > but those are cases where the save/restore overhead > becomes negligible for all of the other processing > that is going on. even in that case you must make sure you dont

Re: sqrt in kernel?

2001-05-20 Thread John Levon
On 20 May 2001, Robert M. Love wrote: > hi, > > is there a sqrt function in the kernel? no. read the FAQ. > i tried finding/grepping around, and found some various arch-specific > stuff for fpu emulation... is there a general sqrt function? is there a In general questions like this are

Re: sqrt in kernel?

2001-05-20 Thread Matti Aarnio
On Sun, May 20, 2001 at 04:33:20PM -0400, Robert M. Love wrote: > hi, > > is there a sqrt function in the kernel? any other math functions? No. (Assuming FP math sqrt function is your interest.) If you do scaled integers (fractions, with 2^n denominator), you can do

sqrt in kernel?

2001-05-20 Thread M.
hi, is there a sqrt function in the kernel? any other math functions? i tried finding/grepping around, and found some various arch-specific stuff for fpu emulation... is there a general sqrt function? is there a single file to look through with the various math functions? thanks, -- Robert

sqrt in kernel?

2001-05-20 Thread M.
hi, is there a sqrt function in the kernel? any other math functions? i tried finding/grepping around, and found some various arch-specific stuff for fpu emulation... is there a general sqrt function? is there a single file to look through with the various math functions? thanks, -- Robert

Re: sqrt in kernel?

2001-05-20 Thread Matti Aarnio
On Sun, May 20, 2001 at 04:33:20PM -0400, Robert M. Love wrote: hi, is there a sqrt function in the kernel? any other math functions? No. (Assuming FP math sqrt function is your interest.) If you do scaled integers (fractions, with 2^n denominator), you can do