8 extern void do_fxam ( void );
23 double inf ( void ) { return 1.0 / 0.0; }
24 double nAn ( void ) { return 0.0 / 0.0; }
25 double den ( void ) { return 9.1e-220 / 1e100
; }
27 /* Try positive and negative variants of: zero, infinity,
32 d
= 0.0; do_fxam(); printf("0x%4x: %f\n", i
, d
);
33 d
= -0.0; do_fxam(); printf("0x%4x: %f\n", i
, d
);
35 d
= inf(); do_fxam(); printf("0x%4x: %f\n", i
, d
);
36 d
= -inf(); do_fxam(); printf("0x%4x: %f\n", i
, d
);
38 d
= nAn(); do_fxam(); printf("0x%4x: %f\n", i
, d
);
39 d
= -nAn(); do_fxam(); printf("0x%4x: %f\n", i
, d
);
41 d
= den(); do_fxam(); printf("0x%4x: %f\n", i
, d
);
42 d
= -den(); do_fxam(); printf("0x%4x: %f\n", i
, d
);