lkml.org 
[lkml]   [1996]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: signal(SIGFPE,SIG_IGN), possible solution?

On Thu, 25 Apr 1996, Ben Wing wrote:

......

> You've sent this whole long flame, but completely missed the point
> that I was *NOT* talking about division by zero, but rather about
> overflow -- e.g. if I divide 0xFFFFFFFFFFFFFFFF (a 64-bit number)
> by 0xFFFFFFF (a 28-bit number) using the idivl instruction, the
> processor issues an exception because the result does not fit into
> 32 bit, but takes 36 bits. Returning MAX_INT here is NOT random --
> it's the closest reasonable approximation.

I am not able to understand all the details of this boring thread.
However, I think that a result that is 16 times smaller than the right one,
is not reasonnable regardless it is random or not.

Do you think that some E.T. who would get the following result:
Human body have 32 legs.
would thank you for your "possible solution".

Gerard.




\
 
 \ /
  Last update: 2005-03-22 13:37    [W:1.541 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site