The C numerics library includes common mathematical functions and types, as well as support for random number generation.
[edit] Common mathematical functionsThe header <math.h> provides standard C library mathematical functions such as fabs, sqrt, and sin.
[edit] Floating-point environmentThe header <fenv.h> defines flags and functions related to exceptional floating-point state, such as overflow and division by zero.
[edit] Pseudo-random number generationThe header <stdlib.h> also includes C-style random number generation via srand and rand.
[edit] Complex number arithmeticThe header <complex.h> provides types and functions to work with complex numbers.
[edit] Type-generic mathThe header <tgmath.h> provides some macros for a function which names XXX:
XXXf
XXX
XXXl
cXXXf
cXXX
cXXXl
The header <stdbit.h> provides macros and functions to work with the byte ordering and byte and bit representation of C objects.
[edit] Checked integer arithmetic (since C23)Provides some type-generic macros for checked integer arithmetic:
checked addition operation on two integersRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4