(j3.2006) Union in Fortran
Daniel C Chen
cdchen
Tue Sep 13 11:51:35 EDT 2016
Hello,
Is there anyway in Fortran that I can do the equivalence of the following C
code?
struct {
int key;
union {
float t;
int value;
}
} s;
Thanks,
Daniel
XL Fortran Development - IBM Toronto Software Lab
Phone: 905-413-3056
Tie: 969-3056
Email: cdchen at ca.ibm.com
http://www.ibm.com/software/awdtools/fortran/xlfortran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.j3-fortran.org/pipermail/j3/attachments/20160913/2fb3ecff/attachment.html
More information about the J3
mailing list