Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1 User Manual

Product codes
SW006021-1
Page of 518
Implementation-Defined Behavior
 2012 Microchip Technology Inc.
DS52053B-page 485
C.14 LIBRARY FUNCTIONS (G.3.14)
C.14.1
The null constant to which the macro NULL expands (7.1.6)
The macro NULL expands to 0.
C.14.2
The diagnostic printed by and the termination behavior of the 
assert function (7.2)
The function prints to stderr "Assertion failed: %s line %d: \"%s\"\n" 
where the placeholders are replaced with the filename, line number and message 
string, respectively. The program does not terminate.
C.14.3
The sets of characters tested for by the isalnum, isalpha, 
iscntrl, islower, isprint, and isupper functions (7.3.1)
isalnum
: ASCII characters a-z, A-Z, 0-9
isalpha
: ASCII characters a-z, A-Z
iscntrl
: ASCII values less than 32
islower
: ASCII characters a-z
isprint
: ASCII values between 32 and 126, inclusive
isupper
: ASCII characters A-Z
C.14.4
The values returned by the mathematics functions on domain 
errors (7.5.1)
acos(x)
 |x|>1.0 pi/2
asin(x)
 |x|>1.0 0.0
atan2(x,y)
 x=0,y=0 0.0
log(x
) x<0 0.0
pow(0,0) 0.0
pow(0, y) 
y<0 0.0
pow(x,y) 
x<0 y is non-integral 0.0
sqrt(x) 
x<0 0.0
fmod(x, 0) x
C.14.5
Whether the mathematics functions set the integer expression 
errno to the value of the macro ERANGE on underflow range 
errors (7.5.1)
The exp(), frexp() and log() functions set errno to ERANGE on underflow.
C.14.6
Whether a domain error occurs or zero is returned when the 
fmod function has a second argument of zero (7.5.6.4)
It returns the first argument and no domain error is produced.
C.14.7
The set of signals for the signal function (7.7.1.1)
The signal() function is not implemented