Hello to everybody! I am a new user of PIC and this period I am dialing with a project based on PIC16F877. So, I am needing floating point routines. I have two decimal numbers (Num1 is 32bit and Num2 is 16 bit).I want to divide and multiply these mumbers. The result of division will be a floating point number.I need floating point routine, don't I? But a fixed point routine with 2 digits after point (x.yy) would be solve my problem. I saw the archives of microchip but the only routine I found was a fixed point but don't return the fraction part of division,only remainder. Maybe someone have any simple routine for PIC? The last question is what about piclist site.I can't load the site. why? And what about mailing list? It is requested username and pasword to see any mail from list.What exactly happen? Any help will be appreciate! Thanks in advance to each one! Best regards, vaggelis 

floating point or fixed point routines for PIC16F877
Started by ●May 14, 2004
Posted by ●May 15, 2004
Since you said "this period" I will assume that you are a student
and thus I'm not going to give you any complete answers. As usual there are a few ways to solve any problem however I will suggest that you think about "scaling" and what it can do for you since fixed point with two places after the decimal is good enough for you. Scott  In , "eevagg" <evagg@i...> wrote: > Hello to everybody! > > I am a new user of PIC and this period I am dialing with a project > based on PIC16F877. So, I am needing floating point routines. > I have two decimal numbers (Num1 is 32bit and Num2 is 16 bit).I want > to divide and multiply these mumbers. The result of division will be > a floating point number.I need floating point routine, don't I? But a > fixed point routine with 2 digits after point (x.yy) would be solve > my problem. > I saw the archives of microchip but the only routine I found was a > fixed point but don't return the fraction part of division,only > remainder. > Maybe someone have any simple routine for PIC? > The last question is what about piclist site.I can't load the site. > why? And what about mailing list? It is requested username and > pasword to see any mail from list.What exactly happen? > Any help will be appreciate! > > Thanks in advance to each one! > > Best regards, > vaggelis 