On 4/12/2016 11:08 AM, Kustaa Nyholm wrote: > On 12/04/2016 05:45, "KHMan" wrote: > >> Hard to imagine an 8-bit project >> that truly need half floats. > > Some years ago I did an 8-bit project where I deemed > that writing a floating point package in assembly was > the *easiest* way to do it: > > http://www.sparetimelabs.com/densitometer/densitometer.php > > So yes, sometimes having low precision FP available would > be nice.
True. But in the link you mentioned 4 digits of precision. Would you have fitted this into 16-bit floats? Ran all the calculations including log on 11 bits prec? Anyone using 16 bit floats in a real embedded app now? Just curious whether there is actual "customer demand" pushing for this... Every time I think of soft floats on 8 bit MCUs, they always end up sounding better as 24-bit float formats... IIRC even 6502 Microsoft BASIC floats were formatted for easier byte-sized handling. Is there no way of using 16 bit floats easily without packing and unpacking? -- Cheers, Kein-Hong Man (esq.) Kuala Lumpur, Malaysia ------------------------------------------------------------------------------ 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