Type punning in C
slimer at trsvax.UUCP
slimer at trsvax.UUCP
Wed Oct 11 05:57:00 AEST 1989
In article <475 at idacrd.UUCP>, desj at idacrd.UUCP (David desJardins) writes:
> the_single_precision_result = pun.f;
According to the pun union structure, this should actually read:
the_single_precision_result = pun.x;
****************************************************************************
* Thank You, texbell!letni!rwsys!slimer *
* Bill "Ever felt like a dip switch?" - ComputerWorld *
* George W. Pogue, 1300 Two Tandy, Fort Worth, TX. 76102 (817) 390-2871 *
****************************************************************************
More information about the Comp.lang.c
mailing list