Development Systems Ordering Guide
FREE
dsPIC30F Math Library
The dsPIC30F Math Library is the compiled version of
dsPIC ? DSC Math Library Function and Performance
the math library that is distributed with the highly
optimized, ANSI-compliant dsPIC30F MPLAB ? C30
Function Group
Function
Performance
(Cycles) (1,2,3,4)
C Compiler (SW006012). It contains advanced single
and double-precision, floating-point arithmetic and
trigonometric functions from the standard ‘C’ header
file <math.h> . The library delivers small program code
size and data size, reduced cycles and high accuracy.
Features
? The math library is callable from either MPLAB C30
or dsPIC30F Assembly language.
? The functions are IEEE-754 compliant, with signed
zero, signed infinity, NaN (Not a Number) and
denormal support and operate in the
“Round-to-Nearest” mode.
? Compatible with MPLAB ASM30 and MPLAB
LINK30, which are available at no charge from
Microchip’s web site.
? Total library memory usage (1,2) :
- Code size: 5250 bytes
- Data size: 4 bytes
Basic Floating Point
Trigonometric and
Hyperbolic
Logarithmic and
Exponential
Addition 122
Subtraction 124
Multiplication 109
Division 361
Remainder 385
acos 478
asic 363
atan 696
atan2 3206
cos 3249
sin 2238
tan 2460
cosh 1049
sinh 525
tanh 338
exp 530
frexp 39
Idexp 44
log 2889
log10 3007
Power Functions pow 2134
sqrt 493
Rounding Functions ceil 94
floor 51
Absolute Value Function fabs 6
Modular Arithmetic
Functions
modf 151
fmod 129
Note 1: Results are based on using the dsPIC30F
MPLAB ? C30 Compiler (SW006012) version 1.20.
2: Maximum “Memory Usage” when all functions in the
library are loaded. Most applications will use less.
3: All performance statistics represented here are for
32-bit IEEE754 floating-point input and output data
types.
4: Performance (in instruction cycles) listed here
represent an average number of instruction cycles
required to perform the floating-point operation.
Ordering Information:
SW300020
DS51443
DS30177T-page 12
dsPIC30F Math Library (Free download: www.microchip.com)
“dsPIC30F Math Library Product Overview” (Available at: www.microchip.com)
? 2005 Microchip Technology Inc.
相关PDF资料
DB25-ALL SURGE SUPPRESSOR DB25M/F PROG.
DB25-PAR SERIAL PROT SURGE PROT PARALLEL
DB25 SURGE SUPPRESSOR RS-232 DB25M/F
DB3TG DIAC TRIGGER DIODE 150MW DO-35
DC1041A-A BOARD EVAL LTM4601
DC1083A-B BOARD DEMO LTM4603HV
DC1194A BOARD EVAL LTM8020
DC1261A BOARD DEMO LTM8022
相关代理商/技术参数
DAF18-5 功能描述:插座和适配器 PIC18F ICE4000 Dev Adap RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
DAF18-6 功能描述:插座和适配器 PIC18F 64L/80L ICE4000 Device Adap RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
DAF30-2 功能描述:插座和适配器 dsPIC30F 64L/80L/ ICE4000 Dev Adap RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
DAF30-3 功能描述:插座和适配器 dsPIC30F 44L ICE4000 Dev Adap RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
DAF30-4 功能描述:插座和适配器 dsPIC30F 18L/28L/40L RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
DAF3524P404-103 制造商: 功能描述: 制造商:undefined 功能描述:
DAF3524P405-101 制造商:Amphenol Corporation 功能描述:88-541913-20P - Bulk
DAF3524P406-101 制造商:Amphenol Corporation 功能描述:21-033617-001 - Bulk