Unions
Shraddhan,
Somehow my reply yesterday seems to have got lost! The problem is not with
dice, but with your declaration of ValDPFloat. You have defined it as
struct DoubleFloat ValDPFloat;
whereas you should use
union DoubleFloat ValDPFloat;
Dice was taking your specification of DoubleFloat, and turning it into a
struct, thus making DP follow on from dp, rather than share the same memory
space
Mal
Binary Dreams