13.07.2015 Views

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

pcp_reference_guide_v2.5 - Tasking

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2−8PCP Reference ManualFE_DIVBYZERO FE_INEXACT FE_INVALIDFE_OVERFLOW FE_UNDERFLOW FE_ALL_EXCEPTfegetroundfesetroundReturns the current rounding direction, represented asone of the values of the rounding direction macros.(Not implemented)Sets the current rounding directions. (Not implemented)Currently no rounding mode macros are implemented.2.2.6 FLOAT.HThe header file float.h defines the characteristics of the realfloating−point types float, double and long double.Float.h used to contain prototypes for the functions copysign(f),isinf(f), isfinite(f), isnan(f) and scalb(f). These functions haveaccordingly to the ISO/IEC9899 standard been moved to the header filemath.h. See also section 2.2.12, Math.h and Tgmath.h.2.2.7 FSS.HThe header file fss.h contains definitions and prototypes for low levelI/O functions used for CrossView Pro’s file system simulation (FSS). Thelow level functions are also declared in stdio.h; they are allimplemented as FSS functions. This header file is not defined inISO/IEC9899.LIBRARIESStdio.h_fss_break(void)_fss_init(fd,is_close)_close(fd)_lseek(fd,offset,whence)_open(fd,flags)_read(fd,*buff,cnt)_unlink(*name)_write(fd,*buffer,cnt)DescriptionBuffer and breakpoint functions forCrossView Pro.Opens file descriptors 0 (stdin), 1(stdout) and 2 (stderr) and associatesthem with terminal window FSS 0 ofCrossView Pro.See Low Level File Access Functionsin section 2.2.19, Stdio.h.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!