Searching \ for '[PIC]: AN660 floating point code Dependancies' 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/microchip/devices.htm?key=pic
Search entire site for: 'AN660 floating point code Dependancies'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: AN660 floating point code Dependancies'
2001\03\19@140343 by Oliver Broad

flavicon
face
Sorry if you've seen it before I didn't tag this correctly when I sent it.

I've been having some problems getting AN660 code to assemble. More
specifically the LOG function. There are two versions one nominally 24 bit,
the other 32 bit. I notice that both versions use math functions from fp32,
and both use one 'float' function from fp24. They also use an integer
multiply , log32 uses two.

I can't understand the code being dependant on both fp libs, surely log32
should use fp32, log24 should use fp24. Since the code uses near calls I
presume all the fp code has to go in one eprom page and with both libs it
just doesn't fit. Cutting and pasting the relevant parts fixed it so it
assembles and appears to work but I'm not altogether happy as the result is
a mess and surely I should just be able to include the relevant files to
assemble it.

Also has anyone rewritten Math16.inc to use CBLOCKs. If not I guess I should
do it as it certainly needs doing.

--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics


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