- union ldoubleIEEE754 u;
- struct declaration_float *src_declaration =
- float_declaration_new(LDBL_MANT_DIG,
- sizeof(long double) * CHAR_BIT - LDBL_MANT_DIG,
- BYTE_ORDER,
- __alignof__(long double));
- struct ctf_stream_pos srcp;
-
- u.v = v;
- ctf_align_pos(ctf_pos(destp), float_declaration->p.alignment);
- ctf_init_pos(&srcp, -1);
- srcp.base = (char *) u.bits;
- _ctf_float_copy(destp, float_declaration, &srcp.parent, src_declaration);
- declaration_unref(&src_declaration->p);