The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: Astro on July 08, 2009, 01:55:13 AM

Title: Math Library
Post by: Astro on July 08, 2009, 01:55:13 AM
Hi,

Is there a math library? It's quite possible I've over-looked it.

If not, is there one already in existance that contains the usual functions that anyone can recommend? I'm looking at coding the Taylor series for a bit of practice at using the ALU.

There are payware modules available, but they are not really what I'm looking for (they cover far more advanced functions than cosine, etc..!!).

Thanks!!
Title: Re: Math Library
Post by: dedndave on July 08, 2009, 02:28:12 AM
well, there is the FPU
it performs most of the heavy math
you might find Raymonds site interesting
he provides a free FPU tutorial, as well as a library

http://www.ray.masmcode.com/
Title: Re: Math Library
Post by: donkey on July 08, 2009, 02:48:20 AM
There are many many math libraries out there, most will cost you a few dollars, some such as Intel's library will run you around $400.00. For freeware libraries there are a few, this one looks interesting...

http://www.softpedia.com/get/Programming/Components-Libraries/Advanced-Maths-Library.shtml
Title: Re: Math Library
Post by: raymond on July 08, 2009, 03:15:57 AM
If you intend to use the ALU, you may also find some ideas in the FIXED POINT MATH section of the link provided above by dedndave.
Title: Re: Math Library
Post by: ToutEnMasm on July 08, 2009, 06:36:48 AM
This one is with source code in c and need to be compile (vc++2008 or many others c , batch are provided)
http://www.mpfr.org/
Title: Re: Math Library
Post by: Mark Jones on July 08, 2009, 09:35:53 PM
Also an AMD offering (http://developer.amd.com/cpu/Libraries/acml/Pages/default.aspx)...
Title: Re: Math Library
Post by: Astro on July 09, 2009, 01:06:21 AM
Hi,

The info on the ALU looks great!  :U

I'll have a look at the other libraries, too. Thanks!!