Scott, i4m trying to do an altimeter based on pressure altitude. So, the eq is: H = 44330,769[1 - (P/P1)^0,190255] Where H is the altitude, P is the air pressure at altitude H at a given and variable sea level pressure P1. Thanks for your help ! []4s Jeferson Martin Scott Dattalo escreveu: > On Thu, 9 Jan 2003 jmartin@COMP.UFSCAR.BR wrote: > > > Hello Larry, it4s my case. I need to calculate the follow eq: > > (p/p1)^0.190255, p and p1 are variables. Can you explain how i can > > do it ? I need to use PIC16 due to PIC17 be very large. I have > > already downloaded the stadard FP routines (+,-,...) from Microchip > > site, but i don4t know how i can use it to calculate the pow function. > > What's the dynamic range of p and p1? (i.e. are they 8-bit signed, 32-bit > unsigned?) > > Scott > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. > -- -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.