What happened to the double data type that was discussed earlier.  I
have found a need for it and was wondering.  Here's my dilemma:
I am using 8-digit 7-seg display to represent things on the screen.
This means that if I want to represent a floating point number that is
less than one like 0.9999999 I would have a number that is out of the
bounds of the "float" data type.  For example:

float floatvar;

    floatvar = 0.99999999

Then floatvar ends up == 1 which is not helping me.  I need it to ==
.99999999 because internally the controller can't deal w/ numbers (in
this particular variable) that are >= 1.0.
However, if I take the same code and put on Borland, and use "double's",
then I get the intended result (floatvar ends up == to 0.99999999).
{footnote: if I use float in Borland the same thing happens.}

Any ideas on when "double" will be available?  What about a new release
of the win32 executables?  Perhaps I'll get the gnu tree working so that
I can make win32 releases, but right now I don't have the time to mess
w/ that.

Thanks
-Mark


Reply via email to