SW006013 Microchip Technology, SW006013 Datasheet - Page 221

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.
_Q15sqrt
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15sub
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15tan
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15tanPI
Description:
Include:
Prototype:
Argument:
Return Value:
This function finds the square root of a Q15 value.
<libq.h>
_Q15 _Q15sqrt(_Q15 x);
x
2
This function returns the square root of x in Q15 format. This value
ranges from 1 to 32767.
The function finds the difference of two Q15 values. This function takes
care of saturation during overflow and underflow occurrences.
<libq.h>
_Q15 _Q15sub(_Q15 x,_Q15 y);
x
2
y
2
This function returns x minus y in Q15 format. This value ranges from
-32768 to 32767.
This function finds the tangent of a Q15 value.
<libq.h>
_Q15 _Q15tan(_Q15 x);
x
2
This function returns the tangent of x in Q15 format. This value ranges
from -32768 to 32767.
This function finds the tangent of PI (π) times a Q15 value.
<libq.h>
_Q15 _Q15tanPI(_Q15 x);
x
2
This function returns the tangent of PI times x in Q15 format. This value
ranges from -32768 to 32767.
15
15
15
15
15
-1. The value of this argument ranges from 1 to 32767.
-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 -25736 to 25735.
-1. The value of this argument ranges from -32768 to 32767.
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
a fixed point number in Q15 format, which ranges from -2
a fixed point number in Q15 format, which ranges from -2
DS51456E-page 217
15
15
15
15
15
to
to
to
to
to

Related parts for SW006013