Not the FPU but in the ordinary CPU, there is 
usually an instruction to find the integer quotient
and integer remainder for integer arguments,  
sometimes (usually?) by a single instruction.

I don't know of any FPUs that finds <[EMAIL PROTECTED] for float
arguments.  There would be an instruction to round
a float to another float which is a mathematical
integer, but not composed with other operations.
(The result is not a hardware integer.  My guess
is that it's due to the closure problem.)



----- Original Message -----
From: bill lam <[EMAIL PROTECTED]>
Date: Saturday, October 21, 2006 11:04 pm
Subject: Re: [Jprogramming] Interger division, the faster one

> Just curious, does any hardware fpu support <:@% , that is short 
> circuiting the
> computing of the fractional part of a quotient?


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to