On 09/16/2010 12:42 PM, Jes Sorensen wrote:
On 09/16/10 12:40, Avi Kivity wrote:
>   On 09/15/2010 09:31 PM, Jes Sorensen wrote:
>>  Floating point is just plain wrong.
>
>  Why?  If command-line processing becomes too slow, you can always buy a
>  math co-processor.
>

Because it's imprecise anyway

52 bits = 4PB.  At that point some rounding will take place.

and requires dealing with fp regs.

The compiler takes care of allocating registers.

Besides, most users will probably hit their shell command line limit
before hitting the problem with the decimals.


20 digits will overflow your divider.

--
error compiling committee.c: too many arguments to function


Reply via email to