Searching \ for '[OT] Making MAPM even more portable...' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ios.htm?key=port
Search entire site for: 'Making MAPM even more portable...'.

Exact match. Not showing close matches.
PICList Thread
'[OT] Making MAPM even more portable...'
2009\01\24@023912 by solarwind

picon face
Over the next few weeks, months, years, lifetimes, I'll be trying to
get MAPM to work with C18 or HI-TECH PICC18. A lot has to be done to
get this to work. Basically, I'll be porting it so it will work on any
microcontroller.

For this to happen, a lot stuff has to be stripped out. Dynamic memory
has to go - it all has to be static. Also, I'll be modularizing it so
that code can be simplified and modules can be added/removed from the
code by whoever is using the library.

I'll be posting questions as they come up and at the same time posting
progress results and code for whoever is interested. If this works
out, I can use a PIC18 or PIC24H or a dsPIC30 to build my
high-precision calculator. The RAM is the limit!

--
solarwind

2009\01\24@151942 by solarwind

picon face
Ok, I figured out how to use MAPM. It's really easy. Here's some C
code that I wrote:

http://pastebin.com/f218ef079

Looks like there's a lot of dynamic memory allocation going on. I
might have to implement some form of dynamic memory management.
Otherwise, it might get messy.

Here's the output of the program:


6.2000E+1
-7.3918069664922287E-1

Process returned 0 (0x0)   execution time : 0.024 s
Press any key to continue.


Compiler: mingw32-gcc
IDE: Code::Blocks on Windows

2009\01\27@111316 by Bob Axtell

face picon face
WHAT is MAPM?

On Sat, Jan 24, 2009 at 12:38 AM, solarwind <spam_OUTx.solarwind.xTakeThisOuTspamgmail.com> wrote:
> Over the next few weeks, months, years, lifetimes, I'll be trying to
> get MAPM to work with C18 or HI-TECH PICC18. A lot has to be done to
> get this to work. Basically, I'll be porting it so it will work on any
> microcontroller.
>
> For this to happen, a lot stuff has to be stripped out. Dynamic memory
> has to go - it all has to be static. Also, I'll be modularizing it so
> that code can be simplified and modules can be added/removed from the
> code by whoever is using the library.
>
> I'll be posting questions as they come up and at the same time posting
> progress results and code for whoever is interested. If this works
> out, I can use a PIC18 or PIC24H or a dsPIC30 to build my
> high-precision calculator. The RAM is the limit!
>
> --
> solarwind
> -

2009\01\27@124910 by M. Adam Davis

face picon face
letmegooglethatforyou.com/?q=mapm

MAPM: A portable arbitrary precision math library.  Featured in C
User's Journal in 2001:

http://www.ddj.com/cpp/184401456?pgno=2

It's a reasonably nice, simple, and easy to use arbitrary precision
math library.

-Adam

On Tue, Jan 27, 2009 at 11:05 AM, Bob Axtell <.....bob.axtellKILLspamspam@spam@gmail.com> wrote:
{Quote hidden}

>> --

More... (looser matching)
- Last day of these posts
- In 2009 , 2010 only
- Today
- New search...