EWL C Reference Manual

EWL C Reference Manual

EWL C Reference Manual Document Number: CWEWLCREF Rev. 10.x, 02/2014 EWL C Reference Manual, Rev. 10.x, 02/2014 2 Freescale Semiconductor, Inc. Contents Section number Title Page Chapter 1 Introduction 1.1 ISO/IEC Standards........................................................................................................................................................19 1.2 Intrinsic Functions........................................................................................................................................................ 19 Chapter 2 Configuring EWL 2.1 Configuring Memory Management.............................................................................................................................. 21 2.2 Configuring Time and Date.......................................................................................................................................... 24 2.3 Configuring Input and Output.......................................................................................................................................26 2.3.1 Configuring File Input/Output....................................................................................................................... 26 2.3.2 Routines......................................................................................................................................................... 27 2.3.3 Configuring Console I/O................................................................................................................................28 2.4 Configuring Threads..................................................................................................................................................... 30 2.4.1 Pthread Functions...........................................................................................................................................31 2.5 Configuring Assertions................................................................................................................................................. 33 2.6 Configuring Complex Number Facilities......................................................................................................................33 2.7 Configuring C99 Features.............................................................................................................................................33 2.8 Configuring Locale Features.........................................................................................................................................33 2.9 Configuring Floating-Point Math Features...................................................................................................................34 2.10 Configuring the EWL Extras Library........................................................................................................................... 34 2.11 Configuring Wide-Character Facilities.........................................................................................................................35 2.12 Porting EWL to an Embedded OS................................................................................................................................35 Chapter 3 assert.h 3.1 Macros in assert.h......................................................................................................................................................... 39 3.1.1 assert()............................................................................................................................................................39 Chapter 4 complex.h EWL C Reference Manual, Rev. 10.x, 02/2014 Freescale Semiconductor, Inc. 3 Section number Title Page 4.1 Hyperbolic Trignomatry............................................................................................................................................... 41 4.1.1 cacos()............................................................................................................................................................ 41 4.1.2 cacosh().......................................................................................................................................................... 42 4.1.3 casin().............................................................................................................................................................43 4.1.4 casinh()...........................................................................................................................................................43 4.1.5 catan().............................................................................................................................................................44 4.1.6 catanh()...........................................................................................................................................................44 4.1.7 ccos()..............................................................................................................................................................45 4.1.8 ccosh()............................................................................................................................................................45 4.1.9 csin()...............................................................................................................................................................46 4.1.10 csinh().............................................................................................................................................................46 4.1.11 ctan().............................................................................................................................................................. 47 4.2 Exponent and Logarithms.............................................................................................................................................47 4.2.1 cexp()............................................................................................................................................................. 47 4.2.2 clog().............................................................................................................................................................. 48 4.3 Power and Absolute Values..........................................................................................................................................48 4.3.1 cabs()..............................................................................................................................................................49 4.3.2 cpow()............................................................................................................................................................ 49 4.3.3 csqrt()............................................................................................................................................................. 50 4.4 Manipulation.................................................................................................................................................................50 4.4.1 carg().............................................................................................................................................................. 51 4.4.2 cimag()........................................................................................................................................................... 51 4.4.3 conj().............................................................................................................................................................. 52 4.4.4 cproj().............................................................................................................................................................52 4.4.5 creal()............................................................................................................................................................. 53 Chapter 5 ctype.h 5.1 Macros in ctype.h..........................................................................................................................................................55 EWL C Reference Manual, Rev. 10.x, 02/2014 4 Freescale Semiconductor, Inc. Section number Title Page 5.1.1 isalnum(), isalpha(), isblank(), iscntrl(), isdigit(), isgraph(), islower(), isprint(), ispunct(), isspace(), isupper(), isxdigit().........................................................................................................................................55 5.1.2 tolower, toupper............................................................................................................................................. 57 Chapter 6 errno.h 6.1 errno()........................................................................................................................................................................... 59 Chapter 7 fenv.h 7.1 Data Types and Pragma for the Floating-Point Environment.......................................................................................61 7.1.1 fenv_t, fexecpt_t.............................................................................................................................................61 7.1.2 FENV_ACCESS............................................................................................................................................ 62 7.1.3 fegetenv()......................................................................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    391 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us