>
> > Math is one area I was interested in since I would hate to implement
> > some math functions in assembly.  Since it is GCC based,  does that mean
> > that math library functions like sqrt, exp, log, and pow might be
> > supported?  My guess is not currently, since I thought I read that
> > floating point was only partially implemented.  I guess TI has a
> > floating point assembler library available.
>
> Ok,
> - the basic FP support is a part of GCC or a library found in msp430-libc
> (which compiles to libm.a and can be linked with -lm)
>
> - It includes basic math operations (+-/*, compare, negative, abs) and
> type converter.
>
> - Only single precision (4 bytes) FP supported. And I doubt doubles will
> help much anybody with this MCU :)
>
> - No any math functions written yet (of course they are, but not
> especially for mspgcc)

This means you can do things like sqrt, log, etc., using functions built
from the basic math ops.  I guess you could pick up a copy of the newlib
sources and take them from there.  They will not be optomised for the msp,
so they'll be a bit bigger and slower than optimal, but it should be
possible to get them working.

>
> - Anybody is welcome to write _any_ support!
>
> ~d
>
>
>
> /********************************************************************
>      ("`-''-/").___..--''"`-._     (\   Dimmy the Wild      UA1ACZ
>       `6_ 6  )   `-.  (     ).`-.__.`)  Enterprise Information Sys
>       (_Y_.)'  ._   )  `._ `. ``-..-'   Nevsky prospekt,   20 / 44
>     _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,   Russia
>    (il),-''  (li),'  ((!.-'             +7 (812)  3468202, 5585314
>  ********************************************************************/
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone?  Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>



Reply via email to