24{
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58 double x;
59 Int negone=-1, errornum;
61
62
63
64
65#ifdef NO_IEEE
66 *ieflag = 0;
67#else
69 *ieflag = 0;
70 return;
71 }
72 x = (double) -1.0;
73 ix = (
unsigned Int *) &x;
74 if(( *ix == 0xbff00000) && ( *(ix+1) == 0x0) )
75 {
76 *ieflag = 1;
77 } else if(( *(ix+1) == 0xbff00000) && ( *ix == 0x0) ) {
78 *ieflag = 2;
79 } else {
80 *ieflag = 0;
81 }
82#endif
83}