> >It would be nice if you can confirm this, especially the actual >16-bit float format used. If the elements of the float are not >byte-aligned, then did you pack and unpack the bit fields for each >operation? What operations did you implement?
Are you talking about my densitometer project? This was with 24 (8+16) floating points so no packing was required. I was just putting my project forward as an example of a kind project where floating point was a good choice but where a 32 bit floating point was not usable (because of the code space constraints). I implemented the four basic ops + log10. The source code is here, unfortunately the line breaks seem to be broken but if you click on 'fp16math' link in this page it should display ok: http://www.sparetimelabs.com/densitometer/sourcesframeset.html and it documents the basic math and format decently I think. br Kusti This e-mail may contain confidential or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. We will not be liable for direct, indirect, special or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on or as of transmission of this e-mail in general. ------------------------------------------------------------------------------ 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