Thread: ERROR
View Single Post
  #22   Spotlight this post!  
Unread 28-02-2005, 17:20
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Re: ERROR

I have the definitive response from C18 tech support:

I found the functions that you refer to however they are C30 math function found in the math.h for C30 dsPICŪ Language Tools Libraries

The files you inquire about are defined in the dsPICŪ Language Tools Libraries
http://ww1.microchip.com/downloads/e...Doc/51456b.pdf

see page 332 double ceil(double x);
see page 355 double pow(double x, double y);

The functions you can use in the C18 library under math.h
MPLABŪ C18 C COMPILER LIBRARIES
http://ww1.microchip.com/downloads/e...Lib_51297d.pdf

see page 162 float ceil ( float x);
see page 165 float pow( float x, float y);

Unfortunately you cannot use the functions you refer to with C18. They are used with C30.


Basically FIRST stiffed us on the compiler...Pity...I could have made a kick-*** function if I had math access.
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).