On 4/13/2016 2:12 PM, Vaclav Peroutka wrote:
>
>
>
>     I don't think any of us disagree with the convenience thing. But
>     is anyone actually using 16 bit floats for their apps or
>     projects?
>     The biggest problem is the 11 bit precision -- 8 bit MCUs
>     probably
>     calculate using 16 bits of precision and then unpack-pack into
>     the
>     half float format. Right now I am really really interested in
>     seeing a real life 8-bit MCU program that uses 16 bit floats, or
>     something very close in spirit...
>
> Hi,
>
> several years ago I implemented resonance meter in PIC16F. If I
> recall correctly I used 16bit float. Written in assembler.
>
> So - yes, 16 bit float is nice to have.

Very interesting. Well, let me be the persistent fella and ask 
some more questions... :-) It would no doubt be useful for the 
SDCC devs. Some data points are better than no data points...

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?

-- 
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

Reply via email to