/freebsd/contrib/gdtoa/ |
H A D | strtoIdd.c | 53 ULtodd((ULong*)f0, B[0]->x, exp[0], rv[0]); 56 ULtodd((ULong*)f1, B[1]->x, exp[1], rv[1]); 60 ((ULong*)f1)[0] = ((ULong*)f0)[0]; 61 ((ULong*)f1)[1] = ((ULong*)f0)[1]; 62 ((ULong*)f1)[2] = ((ULong*)f0)[2]; 63 ((ULong*)f1)[3] = ((ULong*)f0)[3];
|
H A D | strtordd.c | 36 ULtodd(L, bits, exp, k) ULong *L; ULong *bits; Long exp; int k; in ULtodd() 38 ULtodd(ULong *L, ULong *bits, Long exp, int k) 50 L[_1] = (bits[1] >> 21 | bits[2] << 11) & (ULong)0xffffffffL; 64 bits[0] = bits[0] << i & (ULong)0xffffffffL; 77 bits[0] = bits[0] << i & (ULong)0xffffffffL; 111 L[2+_0] = bits[1] & (((ULong)1L << j) - 1); 122 L[2+_0] = bits[1] & (((ULong)1L << j) - 1); 147 L[2+_1] = bits[0] & (((ULong)1L << j) - 1); 161 L[_1] = (bits[1] >> 21 | bits[2] << 11) & (ULong)0xffffffffL; 163 | (ULong)0x7ff00000L; [all …]
|
H A D | gdtoaimp.h | 294 typedef union { double d; ULong L[2]; } U; 494 ULong x[1]; 504 #define Bcopy(x,y) memcpy_D2A(&x->sign,&y->sign,y->wds*sizeof(ULong) + 2*sizeof(int)) 506 #define Bcopy(x,y) memcpy(&x->sign,&y->sign,y->wds*sizeof(ULong) + 2*sizeof(int)) 599 extern void ULtof ANSI((ULong*, ULong*, Long, int)); 600 extern void ULtod ANSI((ULong*, ULong*, Long, int)); 601 extern void ULtodd ANSI((ULong*, ULong*, Long, int)); 602 extern void ULtoQ ANSI((ULong*, ULong*, Long, int)); 603 extern void ULtox ANSI((UShort*, ULong*, Long, int)); 604 extern void ULtoxL ANSI((ULong*, ULong*, Long, int)); [all …]
|
H A D | hexnan.c | 36 L_shift(x, x1, i) ULong *x; ULong *x1; int i; in L_shift() 38 L_shift(ULong *x, ULong *x1, int i) 55 CONST char **sp; FPI *fpi; ULong *x0; in hexnan() 57 hexnan( CONST char **sp, FPI *fpi, ULong *x0) 60 ULong c, h, *x, *x1, *xe; 139 *xe &= ((ULong)0xffffffff) >> (ULbits - i);
|
H A D | strtoId.c | 49 ULtod((ULong*)f0, B[0]->x, exp[0], rv[0]); 52 ULtod((ULong*)f1, B[1]->x, exp[1], rv[1]); 56 ((ULong*)f1)[0] = ((ULong*)f0)[0]; 57 ((ULong*)f1)[1] = ((ULong*)f0)[1];
|
H A D | strtorf.c | 36 ULtof(L, bits, exp, k) ULong *L; ULong *bits; Long exp; int k; in ULtof() 38 ULtof(ULong *L, ULong *bits, Long exp, int k) 76 ULong bits[1]; 87 ULtof((ULong*)f, bits, exp, k);
|
H A D | strtord.c | 36 ULtod(L, bits, exp, k) ULong *L; ULong *bits; Long exp; int k; in ULtod() 38 ULtod(ULong *L, ULong *bits, Long exp, int k) 81 ULong bits[2]; 92 ULtod((ULong*)d, bits, exp, k);
|
H A D | strtorxL.c | 52 ULtoxL(L, bits, exp, k) ULong *L; ULong *bits; Long exp; int k; in ULtoxL() 54 ULtoxL(ULong *L, ULong *bits, Long exp, int k) 95 ULong bits[2]; 106 ULtoxL((ULong*)L, bits, exp, k);
|
H A D | misc.c | 66 rv = (Bigint *)MALLOC(sizeof(Bigint) + (x-1)*sizeof(ULong)); 68 len = (sizeof(Bigint) + (x-1)*sizeof(ULong) + sizeof(double) - 1) 112 (y) ULong *y; in lo0bits() 114 (ULong *y) 118 ULong x = *y; 167 ULong *x; 170 ULong carry, *x, y; 172 ULong xi, z; 217 (x) ULong x; in hi0bits_D2A() 219 (ULong x) [all …]
|
H A D | strtorQ.c | 56 ULtoQ(L, bits, exp, k) ULong *L; ULong *bits; Long exp; int k; in ULtoQ() 58 ULtoQ(ULong *L, ULong *bits, Long exp, int k) 114 ULong bits[4]; 125 ULtoQ((ULong*)L, bits, exp, k);
|
H A D | smisc.c | 37 (s, nd0, nd, y9, dplen) CONST char *s; int dplen, nd0, nd; ULong y9; in s2b() 39 (CONST char *s, int nd0, int nd, ULong y9, int dplen) 135 copybits(c, n, b) ULong *c; int n; Bigint *b; in copybits() 137 copybits(ULong *c, int n, Bigint *b) 140 ULong *ce, *x, *xe; 163 ULong 171 ULong *x, *x0, x1, x2;
|
H A D | strtoIf.c | 49 ULtof((ULong*)f0, B[0]->x, exp[0], rv[0]); 52 ULtof((ULong*)f1, B[1]->x, exp[1], rv[1]); 56 *(ULong*)f1 = *(ULong*)f0;
|
H A D | dmisc.c | 47 j = sizeof(ULong); 49 sizeof(Bigint) - sizeof(ULong) - sizeof(int) + j <= i; 109 ULong *bx, *bxe, q, *sx, *sxe; 113 ULong borrow, carry, y, ys; 115 ULong si, z, zs;
|
H A D | strtoIQ.c | 45 ULong *L = (ULong *)a, *M = (ULong *)b;
|
H A D | strtoIxL.c | 45 ULong *L = (ULong *)a, *M = (ULong *)b;
|
H A D | gdtoa.h | 41 #ifndef ULong 42 typedef unsigned Long ULong; typedef 108 extern char* gdtoa ANSI((FPI *fpi, int be, ULong *bits, int *kindp, 113 extern int strtodg ANSI((CONST char*, char**, FPI*, Long*, ULong*));
|
H A D | strtopxL.c | 58 ULong bits[2]; 61 ULong *L = (ULong*)V;
|
H A D | strtopQ.c | 60 ULong bits[4]; 63 ULong *L = (ULong*)V;
|
H A D | strtodg.c | 54 ULong *x, *xe; 57 ULong carry = 1, y; 64 if (*x < (ULong)0xffffffffL) { 99 ULong *x, *xe; 101 ULong borrow = 1, y; 131 ULong *x, *xe; 151 ULong *x, *xe; 175 U *d; FPI *fpi; Long *exp; ULong *bits; int exact, rd, *irv; in rvOK() 177 (U *d, FPI *fpi, Long *exp, ULong *bits, int exact, int rd, int *irv) 181 ULong carry, inex, lostbits; [all …]
|
H A D | strtorx.c | 58 ULtox(L, bits, exp, k) UShort *L; ULong *bits; Long exp; int k; in ULtox() 60 ULtox(UShort *L, ULong *bits, Long exp, int k) 117 ULong bits[2];
|
H A D | strtopd.c | 42 ULong bits[2]; 52 ULtod((ULong*)d, bits, exp, k);
|
H A D | strtopf.c | 42 ULong bits[1], *L; 52 L = (ULong*)f;
|
H A D | strtodnrp.c | 48 ULong bits[2]; 51 union { ULong L[2]; double d; } u;
|
H A D | strtof.c | 44 ULong bits[1]; 47 union { ULong L[1]; float f; } u;
|
H A D | g_ffmt.c | 43 ULong bits[1], *L, sign; 56 L = (ULong*)f;
|