On Fri, Apr 08, 2011 at 12:14:11AM +0200, ri...@happyleptic.org wrote:
> This crash in my yeeloong as well.
> as already noted in various previous threads, it would be easier if sigfpe
> were raised instead.

Thank you rixed!

> But the real question is: how guile (or any other program) is supposed to
> handle this? I'm completely ignorant in floating point arithmetic, so I have
> no idea.
> 

Looking at the Loongson 2F User Guide (UM0447 for STLS2F01),
http://dev.lemote.com/files/resource/documents/Loongson/ls2f/Loongson2FUserGuide.pdf

the PDF page 102 (7.6.2) explains the Invalid Operation Exception. To my
understanding, this should come to userspace as SIGFPE.

Rixed, if I understand well, you used a *signaling NaN* value in the operation,
that should result in an invalid operation.

Any expert here?

-- 
You received this message because you are subscribed to the Google Groups 
"loongson-dev" group.
To post to this group, send email to loongson-dev@googlegroups.com.
To unsubscribe from this group, send email to 
loongson-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/loongson-dev?hl=en.

Reply via email to