Home
last modified time | relevance | path

Searched refs:d128 (Results 1 – 3 of 3) sorted by relevance

/freebsd-9-stable/contrib/gcclibs/libdecnumber/
Ddecimal128.c76 decimal128FromNumber (decimal128 * d128, const decNumber * dn, decContext * set) in decimal128FromNumber() argument
106 DEC_clear (d128); /* clean the target */ in decimal128FromNumber()
117 decDensePackCoeff (dn, d128->bytes, sizeof (d128->bytes), 0); in decimal128FromNumber()
124 d128->bytes[0] = top; in decimal128FromNumber()
144 d128->bytes[0] = (uByte) (comb << 2); in decimal128FromNumber()
146 decimal128SetExpCon (d128, exp); in decimal128FromNumber()
162 decDensePackCoeff (dn, d128->bytes, sizeof (d128->bytes), pad); in decimal128FromNumber()
165 msd = ((unsigned) d128->bytes[1] << 2) & 0x0c; /* top 2 bits */ in decimal128FromNumber()
166 msd |= ((unsigned) d128->bytes[2] >> 6); /* low 2 bits */ in decimal128FromNumber()
167 d128->bytes[1] &= 0xfc; in decimal128FromNumber()
[all …]
DdecLibrary.c72 decimal128 d128; in isinfd128() local
74 __host_to_ieee_128 (arg, &d128); in isinfd128()
75 decimal128ToNumber (&d128, &dn); in isinfd128()
/freebsd-9-stable/contrib/gcc/
Ddfp.c251 decimal128 d128; in encode_decimal128() local
257 decimal128FromNumber (&d128, &dn, &set); in encode_decimal128()
261 buf[0] = *(uint32_t *) &d128.bytes[0]; in encode_decimal128()
262 buf[1] = *(uint32_t *) &d128.bytes[4]; in encode_decimal128()
263 buf[2] = *(uint32_t *) &d128.bytes[8]; in encode_decimal128()
264 buf[3] = *(uint32_t *) &d128.bytes[12]; in encode_decimal128()
268 buf[0] = dfp_byte_swap (*(uint32_t *) &d128.bytes[12]); in encode_decimal128()
269 buf[1] = dfp_byte_swap (*(uint32_t *) &d128.bytes[8]); in encode_decimal128()
270 buf[2] = dfp_byte_swap (*(uint32_t *) &d128.bytes[4]); in encode_decimal128()
271 buf[3] = dfp_byte_swap (*(uint32_t *) &d128.bytes[0]); in encode_decimal128()
[all …]