Lines Matching refs:d128
251 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()
282 decimal128 d128; in decode_decimal128() local
290 *((uint32_t *) &d128.bytes[0]) = (uint32_t) buf[0]; in decode_decimal128()
291 *((uint32_t *) &d128.bytes[4]) = (uint32_t) buf[1]; in decode_decimal128()
292 *((uint32_t *) &d128.bytes[8]) = (uint32_t) buf[2]; in decode_decimal128()
293 *((uint32_t *) &d128.bytes[12]) = (uint32_t) buf[3]; in decode_decimal128()
297 *((uint32_t *) &d128.bytes[0]) = dfp_byte_swap ((uint32_t) buf[3]); in decode_decimal128()
298 *((uint32_t *) &d128.bytes[4]) = dfp_byte_swap ((uint32_t) buf[2]); in decode_decimal128()
299 *((uint32_t *) &d128.bytes[8]) = dfp_byte_swap ((uint32_t) buf[1]); in decode_decimal128()
300 *((uint32_t *) &d128.bytes[12]) = dfp_byte_swap ((uint32_t) buf[0]); in decode_decimal128()
303 decimal128ToNumber (&d128, &dn); in decode_decimal128()
315 decimal128 *d128; in decimal_to_binary() local
316 d128 = (decimal128 *) from->sig; in decimal_to_binary()
318 decimal128ToString (d128, string); in decimal_to_binary()
454 decimal128 *d128 = (decimal128*) r_orig->sig; in decimal_real_to_decimal() local
459 decimal128ToString (d128, str); in decimal_real_to_decimal()
659 decimal128 *d128; in decimal_real_arithmetic() local
661 d128 = (decimal128 *) r->sig; in decimal_real_arithmetic()
663 d128->bytes[0] ^= 1 << 7; in decimal_real_arithmetic()
671 decimal128 *d128; in decimal_real_arithmetic() local
673 d128 = (decimal128 *) r->sig; in decimal_real_arithmetic()
675 d128->bytes[0] &= 0x7f; in decimal_real_arithmetic()