1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
+
|
# C11 Feature: More Mathematical Functions
This is [TIP #745](tip:745.md). This branch adds more mathematical functions from the set listed [here](https://en.cppreference.com/w/c/numeric/math.html).
# The full list
After removing the type-dupes, as Tcl doesn't do those.
## Basic operations
|: Name |: Description |: Tcl notes
------------------------------------------------------------------------------------------
| **div** | computes quotient and remainder of integer division | _This branch_
| **fabs** | computes absolute value of a floating-point value (\|x\|) | Existing: `abs()` function
| **fmod** | computes remainder of the floating-point division operation | Existing: `fmod()` function
| **remainder** | computes signed remainder of the floating-point division operation | _This branch_
| **remquo** | computes signed remainder as well as the three last bits of the division operation | _This branch_
| **fma** | computes fused multiply-add operation; (x*y)+z | _This branch_
| **fmax** | determines larger of two floating-point values | Existing: `max()` function
| **fmin** | determines smaller of two floating-point values | Existing: `min()` function
|