SW006014 Microchip Technology, SW006014 Datasheet - Page 214

C COMPILER MPLAB FOR PIC24 MCU

SW006014

Manufacturer Part Number
SW006014
Description
C COMPILER MPLAB FOR PIC24 MCU
Manufacturer
Microchip Technology
Type
MPLAB® C Compilerr
Series
PIC24r
Datasheet

Specifications of SW006014

Supported Families
PIC24
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC24
Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC24
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
DS51456E-page 210
_Q15add
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15asin
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15asinByPI
Description:
Include:
Prototype:
Argument:
Return Value:
_Q15atan
Description:
Include:
Prototype:
Argument:
Return Value:
The function finds the sum value of two Q15 values. This function takes
care of saturation during overflow and underflow occurrences.
<libq.h>
_Q15 _Q15add(_Q15 x, _Q15 y);
x
2
y
2
This function returns the sum of x and y in Q15 format. This value
ranges from -32768 to 32767.
This function finds the arc sine of a Q15 value.
<libq.h>
_Q15 _Q15asin(_Q15 x);
x
2
This function returns the arc sine of x in Q15 format. This value ranges
from -32768 to 32767.
This function finds the arc sine of a Q15 value and then divides by PI
(π).
<libq.h>
_Q15 _Q15asinByPI(_Q15 x);
x
2
This function returns the arc sine of x, divided by PI, in Q15 format.
This value ranges from -16384 to 16303.
This function finds the arc tangent of a Q15 value.
<libq.h>
_Q15 _Q15atan(_Q15 x);
x
2
This function returns the arc tangent of x in Q15 format. This value
ranges from -25736 to 25735.
15
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 -27573 to 27573.
-1. The value of this argument ranges from -32768 to 32767.
-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
© 2008 Microchip Technology Inc.
15
15
15
15
15
to
to
to
to
to

Related parts for SW006014