#include "arith.h"
#include <stdio.h>
Go to the source code of this file.
|
#define | Long long |
|
#define | UL (unsigned long) |
|
◆ Long
◆ UL
#define UL (unsigned long) |
◆ Ulong
◆ main()
Definition at line 68 of file qnan.c.
84 a.
L[0] = b.
L[0] = 0x7f800000;
86 printf(
"#define f_QNAN 0x%lx\n",
UL c.
L[0]);
87 a.
L[_0] = b.
L[_0] = 0x7ff00000;
88 a.
L[_1] = b.
L[_1] = 0;
90 printf(
"#define d_QNAN0 0x%lx\n",
UL c.
L[0]);
91 printf(
"#define d_QNAN1 0x%lx\n",
UL c.
L[1]);
93 for(i = 0; i < 4; i++)
94 printf(
"#define ld_QNAN%d 0xffffffff\n", i);
95 for(i = 0; i < 5; i++)
96 printf(
"#define ldus_QNAN%d 0xffff\n", i);
103 for(i = 0; i < 4; i++)
104 printf(
"#define ld_QNAN%d 0x%lx\n", i,
UL a.
L[i]);
105 for(i = 0; i < 5; i++)
106 printf(
"#define ldus_QNAN%d 0x%x\n", i, a.u[i]);
References U::d, U::L, and UL.