Mikroelektronika MIKROE-742 데이터 시트

다운로드
페이지 532
fabs
frexp
ldexp
log
log10
modf
pow
494
MIKROELEKTRONIKA
- SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroPASCAL PRO for AVR
CHAPTER 6
Prototype
function fabs(d : real) : real;
Description The function returns the value of parameter x rounded down to the nearest integer.
Prototype
function frexp(value : real; var eptr : integer) : real;
Description
The function splits a floating-point value value into a normalized fraction and an
integral power of 2. The return value is a normalized fraction and the integer
exponent is stored in the object pointed to by 
eptr
.
Prototype
function ldexp(value : real; newexp : integer) : real;
Description
The function returns the result of multiplying the floating-point number value by
2 raised to the power newexp (i.e. returns 
value * 2newexp
).
Prototype
function log(x : real) : real;
Description The function returns the natural logarithm of x (i.e. 
loge(x)
).
Prototype
function log10(x : real) : real;
Description The function returns the base-10 logarithm of x 
(i.e. log10(x)
).
Prototype
function modf(val : real; var iptr : real) : real;
Description
The function returns the signed fractional component of 
val
, placing its whole
number component into the variable pointed to by iptr.
Prototype
function pow(x : real; y : real) : real;
Description
The function returns the value of x raised to the power y (i.e. xy). If x is nega-
tive, the function will automatically cast y into 
longint
.