Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Microchip fixed point math library -16CXXX family

Status
Not open for further replies.

atferrari

Full Member level 4
Joined
Jun 29, 2004
Messages
237
Helped
7
Reputation
14
Reaction score
3
Trophy points
1,298
Location
Buenos Aires - Argentina
Activity points
1,996
I've tried to compile fixed point routines from the math library in Microchip AN 617.

I found that divide or multiply, almost at the very end, use a flag (BSF FPFLAGS,NAN ) that is suposed to be employed in floating point routines.

Obviously, the compiler gives error because FPFLAGS and NAN do not need to be defined and doesn't pertain to that app. note either!!

In the code.zip file acompannying that AN, there is an archive showing FPFLAGS and NAN , among other, as specific for floating point routines.

Curiously, the contents of that archive is not include in the .pdf version of the AN617.

Additional detail: from all the flags defined as "for floating point" that one is the only one showing up here. And it is never checked anywhere else before or after (??)

Anyone knows what's actually going on? :(

Help appreciated.

Agustín Tomás
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top