C99 Language Standard
Contents
Foreword
Introduction
1. Scope
2. Normative references
3. Terms, definitions, and symbols
4. Conformance
5. Environment
6. Language
7. Library
7.1 Introduction
7.2 Diagnostics <assert.h>
7.3 Complex arithmetic <complex.h>
7.4 Character handling <ctype.h>
7.5 Errors <errno.h>
7.6 Floating-point environment <fenv.h>
7.7 Characteristics of floating types <float.h>
7.8 Format conversion of integer types <inttypes.h>
7.9 Alternative spellings <iso646.h>
7.10 Sizes of integer types <limits.h>
7.11 Localization <locale.h>
7.12 Mathematics <math.h>
7.12.1 Treatment of error conditions
7.12.2 The FP_CONTRACT pragma
7.12.3 Classification macros
7.12.4 Trigonometric functions
7.12.5 Hyperbolic functions
7.12.6 Exponential and logarithmic functions
7.12.7 Power and absolute-value functions
7.12.8 Error and gamma functions
7.12.9 Nearest integer functions
7.12.9.1 The ceil functions
7.12.9.2 The floor functions
7.12.9.3 The nearbyint functions
7.12.9.4 The rint functions
7.12.9.5 The lrint and llrint functions
7.12.9.6 The round functions
7.12.9.7 The lround and llround functions
7.12.9.8 The trunc functions
7.12.10 Remainder functions
7.12.11 Manipulation functions
7.12.12 Maximum, minimum, and positive difference functions
7.12.13 Floating multiply-add
7.12.14 Comparison macros
7.13 Nonlocal jumps <setjmp.h>
7.14 Signal handling <signal.h>
7.15 Variable arguments <stdarg.h>
7.16 Boolean type and values <stdbool.h>
7.17 Common definitions <stddef.h>
7.18 Integer types <stdint.h>
7.19 Input/output <stdio.h>
7.20 General utilities <stdlib.h>
7.21 String handling <string.h>
7.22 Type-generic math <tgmath.h>
7.23 Date and time <time.h>
7.24 Extended multibyte and wide character utilities <wchar.h>
7.25 Wide character classification and mapping utilities <wctype.h>
7.26 Future library directions
Annex A
Annex B
Annex C
Annex D
Annex E
Annex F
Annex G
Annex H
Annex I
Annex J
Bibliography
C99 Language Standard
7. Library
7.12 Mathematics <math.h>
7.12.9 Nearest integer functions
Previous
Next
7.12.9 Nearest integer functions
7.12.9.1 The ceil functions
7.12.9.2 The floor functions
7.12.9.3 The nearbyint functions
7.12.9.4 The rint functions
7.12.9.5 The lrint and llrint functions
7.12.9.6 The round functions
7.12.9.7 The lround and llround functions
7.12.9.8 The trunc functions