SW006013 Microchip Technology, SW006013 Datasheet - Page 224

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
DS51456E-page 220
_Q16cos
Description:
Include:
Prototype:
Argument:
Return Value:
_Q16cosPI
Description:
Include:
Prototype:
Argument:
Return Value:
_Q16exp
Description:
Include:
Prototype:
Argument:
Return Value:
_Q16log
Description:
Include:
Prototype:
Argument:
Return Value:
_Q16log10
Description:
Include:
Prototype:
Argument:
Return Value:
This function finds the cosine of a Q16 value.
<libq.h>
_Q16 _Q16cos(_Q16 x);
x
ranges from -2147483648 to 2147483647.
This function returns the cosine of x in Q16 format. This value ranges
from -65566 to 65536.
This function finds the cosine of PI (π) times a Q16 value.
<libq.h>
_Q16 _Q16cosPI(_Q16 x);
x
ranges from -2147483648 to 2147483647.
This function returns the cosine of PI times x in Q16 format. This value
ranges from -65536 to 65536.
This function finds the exponential value of a Q16 value.
<libq.h>
_Q16 _Q16exp(_Q16 x);
x
ranges from -772244 to 681391.
This function returns the exponent value of x in Q16 format. This value
ranges from 0 to 2147483647.
This function finds the natural log of a Q16 value.
<libq.h>
_Q16 _Q16log(_Q16 x);
x
ranges from 1 to 2147483647.
This function returns the natural log of x in Q16 format. This value
ranges from -726817 to 681391.
This function finds the log (base 10) of a Q16 value.
<libq.h>
_Q16 _Q16log10(_Q16 x);
x
ranges from 1 to 2147483647.
This function returns the log of x in Q16 format. This value ranges from
-315653 to 295925.
a fixed point number in Q16 format. The value of this argument
a fixed point number in Q16 format. The value of this argument
a fixed point number in Q16 format. The value of this argument
a fixed point number in Q16 format. The value of this argument
a fixed point number in Q16 format. The value of this argument
© 2008 Microchip Technology Inc.

Related parts for SW006013