Would a fixed point representation work well here? If you use base 2
(binary fixed point) it is very efficient. What is the range of data you
need to represent, and with what precision?
On Wed, 12 Feb 2003, Dmitry wrote:
> 64bits doubles are not supported.
> I have no plans to make this support.
>
> only 32bits IEEE754 floats are (somehow) suported.
>
> ~d
>
>
> On Wednesday 12 February 2003 00:17, Mark Stokes wrote:
> > 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
> >
> >
> >
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> > http://www.vasoftware.com
> > _______________________________________________
> > Mspgcc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
> --
> /********************************************************************
> ("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
> `6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys
> (_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44
> _..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
> (il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314
> ********************************************************************/
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld http://www.vasoftware.com
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>