SW006014 Microchip Technology, SW006014 Datasheet - Page 170
SW006014
Manufacturer Part Number
SW006014
Description
C COMPILER MPLAB FOR PIC24 MCU
Manufacturer
Microchip Technology
Type
MPLAB® C Compilerr
Series
PIC24r
Datasheet
1.SW006014.pdf
(246 pages)
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
- Current page: 170 of 246
- Download datasheet (3Mb)
DS51456E-page 166
fmodf (Continued)
}
Output:
For fmodf (7.000000, 3.000000) the remainder is
1.000000
For fmodf (-5.000000, 3.000000) the remainder is
-2.000000
For fmodf (5.000000, -3.000000) the remainder is
2.000000
For fmodf (5.000000, -5.000000) the remainder is
0.000000
Error: domain error
For fmodf (7.000000, 0.000000) the remainder is nan
For fmodf (7.000000, 7.000000) the remainder is
0.000000
errno = 0;
x = 5.0F;
y = -3.0F;
z = fmodf (x, y);
if (errno)
printf("For fmodf (%f, %f) the remainder is"
errno = 0;
x = 5.0F;
y = -5.0F;
z = fmodf (x, y);
if (errno)
printf("For fmodf (%f, %f) the remainder is"
errno = 0;
x = 7.0F;
y = 0.0F;
z = fmodf (x, y);
if (errno)
printf("For fmodf (%f, %f) the remainder is"
errno = 0;
x = 7.0F;
y = 7.0F;
z = fmodf (x, y);
if (errno)
printf("For fmodf (%f, %f) the remainder is"
perror("Error");
perror("Error");
perror("Error");
perror("Error");
" %f\n\n", x, y, z);
" %f\n\n", x, y, z);
" %f\n\n", x, y, z);
" %f\n\n", x, y, z);
© 2008 Microchip Technology Inc.
Related parts for SW006014
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: