Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: Calculator plugin put on hold
From: BlueChip (cs_bluechip_at_webtribe.net)
Date: 2004-04-27


do everything fixed point and print the dot in the right place
BCD is cool (and simple (when you know how)), but it blows most peoples
heads apart.
Maybe a newcomer might like to consider working in text mode and then doing
the math the way you were taught in primary school?

>yep, that was coming to my mind, too.
>even c64 basic interpreter could do floating-point arithmetic - 6510
>processor alone wasn`t able to do that. it was all done in
>"software".
>maybe there exists a suitable c-library?
>
>maybe:
>http://groups.google.de/groups?q=floating+point+integer++%22c-library%22&hl=de&lr=&ie=UTF-8&oe=UTF-8&selm=8cfhun%241be%241%40ssauraab-i-1.production.compuserve.com&rnum=1
>is a start ?
>
>so - find an apropriate c-library and probably just use that for your
>plugin....
>(sorry if this is a wrong hint - i`m no real programmer - but perhaps this
>gives an idea....)
>regards
>roland
>
>ps:
>as far as i remember linux-kernel on 386 processors without fpu was able
>to do floating-point "emulation", too.
>
>
>----- Original Message -----
>From: "Gary Wingert" <gary_wingert_at_sonic.com>
>To: "Rockbox development" <rockbox_at_cool.haxx.se>
>Sent: Tuesday, April 27, 2004 12:51 AM
>Subject: RE: Calculator plugin put on hold
>
>
> >
> > Not sure if this helps or not, but what about BCD math?
> > Years ago, I wrote code in QuickBasic but linked with
> > highly-efficient hand-coded assembler libraries from
> > Crescent Software. All floating point was tossed out -
> > integer only. Then another company came out with a
> > companion library that performed floating point ops but
> > used BCD to do it all with integers.
> >
> > I don't pretend to know all the voodoo that goes on
> > there, but try googling it and maybe that might be
> > an alternative?
> >
> > http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&q=bcd+math+inte
> > gers
> >
> >
> > > -----Original Message-----
> > > From: rockbox-bounces_at_cool.haxx.se
> > > [mailto:rockbox-bounces_at_cool.haxx.se]On Behalf Of Tom Norris
> > > Sent: Monday, April 26, 2004 3:17 PM
> > > To: Rockbox development
> > > Subject: Calculator plugin put on hold
> > >
> > >
> > > I just found out that there is no support for floating point
> > > precision,
> > > so I'm putting my plugin development on hold... for now.
> > > If I can figure out how to implement it I'll continue work on the
> > > calculator plugin.
> > > _______________________________________________
> > > http://cool.haxx.se/mailman/listinfo/rockbox
> >
> > _______________________________________________
> > http://cool.haxx.se/mailman/listinfo/rockbox
> >
>
>_______________________________________________
>http://cool.haxx.se/mailman/listinfo/rockbox

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa