Hello,
is there a way to initialize a floating point constant (code memory) with a raw binary value? Because we use a few special NAN flags and I cant initialize them using the CX51 compilier. With the IAR compilier I used a union and specified if the value should be interpreted as integer or floating point but with the CX51 compilier this is not possible for constant values because the compilier does not support this kind of initialization. It is part of C99 Standard but CX51 is C90. Maybe there is another way to do this.
Best regards
Given the age of the '51, it can be assumed that it won't be bothered by such new-fangled nonsense :-) Forcing C90 down the throat of this antique is hard enough.
A challenge that others have already made. ;-)
Supporting designators would definitely not break anyone's fingers. That would make initialization of structs a lot easier, more readable and the best thing is it has nothing to do with microcontroller architecture, right?