Programming in C
480 Appendix B The Standard C Library In the descriptions that follow,sis a pointer to a null-terminated string,endis a pointer ...
Dynamic Memory Allocation Functions 481 A pointer to the character that terminated the scan is stored inside the character point ...
482 Appendix B The Standard C Library Math Functions The following list identifies the math functions.To use these routines, inc ...
Math Functions 483 int islessequal (x, y) Is x≤ y? int islessgreater (x, y) Is x< yor is x> y? int isnan (x) Is xa NaN (th ...
484 Appendix B The Standard C Library double atan (x) Returns the arctangent of xas an angle expressed in radians in the range [ ...
Math Functions 485 double fma (x, y, z) Returns (x× y) + z. double fmax (x, y) Returns the maximum of xand y. double fmin (x, y) ...
486 Appendix B The Standard C Library double log10 (x) Returns log 10 x,x ≥ 0. long int lrint (x) Returns xrounded to the neares ...
Math Functions 487 double remquo (x, y, quo) Returns the remainder of xdivided by y, storing the quotient into the integer point ...
488 Appendix B The Standard C Library Complex Arithmetic This header file <complex.h>defines various type definitions and ...
Math Functions 489 double complex catan (z) Returns the complex arc tangent of z. double complex catanh (z) Returns the complex ...
490 Appendix B The Standard C Library double complex ctan (z) Returns the complex tangent of z. double complex ctanh (z) Returns ...
General Utility Functions 491 arguments.”qsortcalls this function whenever it needs to compare two elements in the array, passin ...
21 0672326663 AppB 6/10/04 2:03 PM Page 492 ...
C Compiling Programs with gcc C Compiling Programs with gcc THIS APPENDIX SUMMARIZES SOME OF THEmore commonly used gccoptions. F ...
494 Appendix C Compiling Programs with gcc Command-Line Options Ta b le C.2 contains a list of common options used for compiling ...
Command-Line Options 495 -Olevel Optimizes the code for execution speed gcc –O3 m1.c m2.c according to the level specified by le ...
22 0672326663 AppC 6/10/04 2:02 PM Page 496 ...
D Common Programming Mistakes D Common Programming Mistakes THE FOLLOWING LIST SUMMARIZES SOME OFthe more common programming mis ...
498 Appendix D Common Programming Mistakes If squareRootis defined later in the program, or in another file, and is not explic- ...
Common Programming Mistakes 499 Forgetting to reserve an extra location in an array for the terminating null character of a str ...
«
20
21
22
23
24
25
26
27
28
29
»
Free download pdf