On 4/12/2016 11:08 AM, Kustaa Nyholm wrote:

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

I checked the AppleSoft manual.  It had 5 byte "real" numbers 
(page 148 ), from -1E38 to +1E38, with about 9 digits of
precision ( page 4 )[1].  That was my first computer with
floating-point, and my dad's HP-45 was my first calculator.  :)

A 2-byte float sounds like a lot of bit-shifting and masking
for not much range...


take care,
*brianW

[1] 
http://www.classiccmp.org/cini/pdf/Apple/AppleSoft%20II%20Basic%20Programming%20Manual.PDF


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