GNU Info

Info Node: (libc.info)Arithmetic Functions

(libc.info)Arithmetic Functions


Next: Complex Numbers Prev: Control Functions Up: Arithmetic
Enter node , (file) or (file)node

Arithmetic Functions
====================

   The C library provides functions to do basic operations on
floating-point numbers.  These include absolute value, maximum and
minimum, normalization, bit twiddling, rounding, and a few others.

Absolute Value
Absolute values of integers and floats.
Normalization Functions
Extracting exponents and putting them back.
Rounding Functions
Rounding floats to integers.
Remainder Functions
Remainders on division, precisely defined.
FP Bit Twiddling
Sign bit adjustment. Adding epsilon.
FP Comparison Functions
Comparisons without risk of exceptions.
Misc FP Arithmetic
Max, min, positive difference, multiply-add.

automatically generated by info2www version 1.2.2.9