Skip to content
Tcl Source Code Changes To branch/c11-functions
Login

Changes To branch/c11-functions

Changes to "branch/c11-functions" between 2025-12-30 11:32:23 and 2025-12-30 15:02:00

︙
67
68
69
70
71
72
73
74

75
76
77
78
79
80
81
67
68
69
70
71
72
73

74
75
76
77
78
79
80
81







-
+







| **lgamma** | computes natural (base-_e_) logarithm of the gamma function | _This branch_

## Nearest integer floating-point operations
| Name | Description | Tcl notes
--------------------------------
| **ceil** | computes smallest integer not less than the given value | Existing: `ceil()` function
| **floor** | computes largest integer not greater than the given value | Existing: `floor()` function
| **trunc** | rounds to nearest integer not greater in magnitude than the given value
| **trunc** | rounds to nearest integer not greater in magnitude than the given value | _This branch_
| **round** | rounds to nearest integer, rounding away from zero in halfway cases | Existing: `round()` function
| **nearbyint** | rounds to an integer using current rounding mode
| **rint** | rounds to an integer using current rounding mode with exception if the result differs

## Floating-point manipulation functions
| Name | Description | Tcl notes
--------------------------------
︙