> For the spectrum, cpc and other machines, their float implementations are > not technically "short". Without having a closer look, I think most > are 32-bit which is the same size as SDCC's current float and IEEE single > precision.
The ones I've used are mostly 40bit (TRS80 uses 32 and 64bit) > In this scheme how is SDCC told which float format encoding > to use and who is responsible for defining them? Another poster > mentioned SDCC may not want to clutter itself with a bunch of > legacy requirements. If that's the case, perhaps SDCC could > supply a mechanism and then the library implementers could > maintain float conversion code for the float types the library > implements. That would make a lot of sense to me - and it also covers cases where you want to take the hit of full IEEE 64bit double - because it's just another format and library. Alan ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user