SW006013 Microchip Technology, SW006013 Datasheet - Page 217

MPLAB C Compiler For DsPIC DSCs

SW006013

Manufacturer Part Number
SW006013
Description
MPLAB C Compiler For DsPIC DSCs
Manufacturer
Microchip Technology
Series
DsPIC30F/33Fr
Type
MPLAB® C Compilerr
Datasheet

Specifications of SW006013

Supported Families
DsPIC30F, DsPIC33F
Core Architecture
DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
DsPIC30F And DsPIC33F
Tool Function
Compiler
Tool Type
Compiler
Processor Series
dsPIC
Lead Free Status / RoHS Status
na
For Use With/related Products
dSPIC DSCs
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
© 2008 Microchip Technology Inc.
_itoaQ15
Description:
Include:
Prototype:
Argument:
Return Value:
_itofQ15
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15log
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15log10
Description:
Include:
Prototype:
Argument:
Return Value:
This function converts the each decimal digit of a Q15 value to its rep-
resentation in ASCII. For example, 1 is converted to 0x31 which is the
ASCII representation of 1.
<libq.h>
void _itoaQ15(_Q15 x, char *s);
x
2
s
None.
This function converts a Q15 value into its corresponding floating point
value.
<libq.h>
float _itofQ15(_Q15 x);
x
2
This function returns a floating point equivalent number. The corre-
sponding floating point range is -1 to 0.99996..
This function finds the natural log of a Q15 value.
<libq.h>
_Q15 _Q15log(_Q15 x);
x
2
This function returns the natural log of x in Q15 format. This value
ranges from -32768 to -1.
This function finds the log (base 10) of a Q15 value.
<libq.h>
_Q15 _Q15log10(_Q15 x);
x
2
This function returns the log of x in Q15 format. This value ranges from
-32768 to 0.
15
15
15
15
-1. The value of this argument ranges from -32768 to 32767.
-1. The value of this argument ranges from -32768 to 32767.
-1. The value of this argument ranges from 12055 to 32767.
-1. The value of this argument ranges from 3277 to 32767.
a fixed point number in Q15 format, which ranges from -2
a buffer holding values in ASCII, at least 8 characters long.
a fixed point number in Q15 format, which ranges from -2
a fixed point number in Q15 format, which ranges from -2
a fixed point number in Q15 format, which ranges from -2
DS51456E-page 213
15
15
15
15
to
to
to
to

Related parts for SW006013