* Re: [9fans] Nan() is hooped?
[not found] <<31ed15f48d064844ffda4001f0af8aef@yyc.orthanc.ca>
@ 2009-12-13 7:51 ` erik quanstrom
0 siblings, 0 replies; 2+ messages in thread
From: erik quanstrom @ 2009-12-13 7:51 UTC (permalink / raw)
To: 9fans
On Sun Dec 13 02:12:56 EST 2009, lyndon@orthanc.ca wrote:
> The following code results in:
>
> 8.out 15340: suicide: sys: fp: invalid operation fppc=0x108f status=0x8081 pc=0x00001028
http://9fans.net/archive/2007/02/182
setfcr(getfcr()&~FPINVAL);
- erik
^ permalink raw reply [flat|nested] 2+ messages in thread
* [9fans] Nan() is hooped?
@ 2009-12-13 7:08 Lyndon Nerenberg (VE6BBM/VE7TFX)
0 siblings, 0 replies; 2+ messages in thread
From: Lyndon Nerenberg (VE6BBM/VE7TFX) @ 2009-12-13 7:08 UTC (permalink / raw)
To: 9fans
The following code results in:
8.out 15340: suicide: sys: fp: invalid operation fppc=0x108f status=0x8081 pc=0x00001028
#include <u.h>
#include <libc.h>
void main(int, char *) {
double foo;
foo = NaN();
exits(0);
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-13 7:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <<31ed15f48d064844ffda4001f0af8aef@yyc.orthanc.ca>
2009-12-13 7:51 ` [9fans] Nan() is hooped? erik quanstrom
2009-12-13 7:08 Lyndon Nerenberg (VE6BBM/VE7TFX)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).