Debian Codegraph @

debian/rust-vendor/libm/CHANGELOG.md

raw
1 # Changelog
2
3 All notable changes to this project will be documented in this file.
4
5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6 and this project adheres to
7 [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
8
9 ## [Unreleased]
10
11 ## [0.2.16](https://github.com/rust-lang/compiler-builtins/compare/libm-v0.2.15...libm-v0.2.16) - 2025-12-07
12
13 ### Fixed
14
15 - Fix an incorrect result for `fminimum` and `fmaximum` with the input (-0, NaN)
16 - Fix a typo in `libm::Libm::roundeven`
17 - Fix the `expm1f` overflow threshold
18 - Change `CmpResult` to use a pointer-sized return type
19 - Compare against `CARGO_CFG_TARGET_FAMILY` in a multi-valued fashion
20 - Implement `exp` and its variants for i586 with inline assembly
21 - Implement `floor` and `ceil` in assembly on `i586`
22
23 ### Other
24
25 - Significantly optimize `fmod` worst case performance ([#1002](https://github.com/rust-lang/compiler-builtins/pull/1002))
26
27 ## [0.2.15](https://github.com/rust-lang/compiler-builtins/compare/libm-v0.2.14...libm-v0.2.15) - 2025-05-06
28
29 ### Other
30
31 - Require `target_has_atomic = "ptr"` for runtime feature detection
32
33 ## [0.2.14](https://github.com/rust-lang/compiler-builtins/compare/libm-v0.2.13...libm-v0.2.14) - 2025-05-03
34
35 ### Other
36
37 - Use runtime feature detection for fma routines on x86
38
39 ## [0.2.13](https://github.com/rust-lang/compiler-builtins/compare/libm-v0.2.12...libm-v0.2.13) - 2025-04-21
40
41 ### Fixed
42
43 - Switch back to workspace resolver v2 to unbreak builds without the 2024 edition
44
45 ## [0.2.12](https://github.com/rust-lang/compiler-builtins/compare/libm-v0.2.11...libm-v0.2.12) - 2025-04-21
46
47 - Mark generic functions `#[inline]`
48 - Combine the source files for `fmod`
49 - Ensure all public functions are marked `no_panic`
50 - Add assembly version of simple operations on aarch64
51 - Add `roundeven{,f,f16,f128}`
52 - Add `fminimum`, `fmaximum`, `fminimum_num`, and `fmaximum_num`
53 - Eliminate the use of `force_eval!` in `ceil`, `floor`, and `trunc`
54 - Port the CORE-MATH version of `cbrt`
55 - Add `fmaf128`
56 - fma: Ensure zero has the correct sign
57 - Add `scalbnf16`, `scalbnf128`, `ldexpf16`, and `ldexpf128`
58 - Specify license as just MIT
59 - Add `fmodf128`
60 - Add `fmodf16` using the generic implementation
61 - Add `fminf16`, `fmaxf16`, `fminf128`, and `fmaxf128`
62 - Add `roundf16` and `roundf128`
63 - Add `rintf16` and `rintf128`
64 - Add `floorf16` and `floorf128`
65 - Add `ceilf16` and `ceilf128`
66 - Add `sqrtf16` and `sqrtf128`
67 - Simplify and optimize `fdim` ([#442](https://github.com/rust-lang/libm/pull/442))
68 - Add `fdimf16` and `fdimf128`
69 - Add `truncf16` and `truncf128`
70 - Add `fabsf16`, `fabsf128`, `copysignf16`, and `copysignf128`
71 - Move some numeric trait logic to default implementations
72 - Add some more basic docstrings ([#352](https://github.com/rust-lang/libm/pull/352))
73 - Add support for loongarch64-unknown-linux-gnu
74 - Add an "arch" Cargo feature that is on by default
75 - Rename the `special_case` module to `precision` and move default ULP
76 - Move the existing "unstable" feature to "unstable-intrinsics"
77
78 There are a number of things that changed internally, see the git log for a full
79 list of changes.
80
81 ## [0.2.11](https://github.com/rust-lang/libm/compare/libm-v0.2.10...libm-v0.2.11) - 2024-10-28
82
83 ### Fixed
84
85 - fix type of constants in ported sincosf ([#331](https://github.com/rust-lang/libm/pull/331))
86
87 ### Other
88
89 - Disable a unit test that is failing on i586
90 - Add a procedural macro for expanding all function signatures
91 - Introduce `musl-math-sys` for bindings to musl math symbols
92 - Add basic docstrings to some functions ([#337](https://github.com/rust-lang/libm/pull/337))
93
94 ## [0.2.10](https://github.com/rust-lang/libm/compare/libm-v0.2.9...libm-v0.2.10) - 2024-10-28
95
96 ### Other
97
98 - Set the MSRV to 1.63 and test this in CI
99
100 ## [0.2.9](https://github.com/rust-lang/libm/compare/libm-v0.2.8...libm-v0.2.9) - 2024-10-26
101
102 ### Fixed
103
104 - Update exponent calculations in nextafter to match musl
105
106 ### Changed
107
108 - Update licensing to MIT AND (MIT OR Apache-2.0), as this is derivative from
109 MIT-licensed musl.
110 - Set edition to 2021 for all crates
111 - Upgrade all dependencies
112
113 ### Other
114
115 - Don't deny warnings in lib.rs
116 - Rename the `musl-bitwise-tests` feature to `test-musl-serialized`
117 - Rename the `musl-reference-tests` feature to `musl-bitwise-tests`
118 - Move `musl-reference-tests` to a new `libm-test` crate
119 - Add a `force-soft-floats` feature to prevent using any intrinsics or
120 arch-specific code
121 - Deny warnings in CI
122 - Fix `clippy::deprecated_cfg_attr` on compiler_builtins
123 - Corrected English typos
124 - Remove unneeded `extern core` in `tgamma`
125 - Allow internal_features lint when building with "unstable"
126
127 ## [v0.2.1] - 2019-11-22
128
129 ### Fixed
130
131 - sincosf
132
133 ## [v0.2.0] - 2019-10-18
134
135 ### Added
136
137 - Benchmarks
138 - signum
139 - remainder
140 - remainderf
141 - nextafter
142 - nextafterf
143
144 ### Fixed
145
146 - Rounding to negative zero
147 - Overflows in rem_pio2 and remquo
148 - Overflows in fma
149 - sincosf
150
151 ### Removed
152
153 - F32Ext and F64Ext traits
154
155 ## [v0.1.4] - 2019-06-12
156
157 ### Fixed
158
159 - Restored compatibility with Rust 1.31.0
160
161 ## [v0.1.3] - 2019-05-14
162
163 ### Added
164
165 - minf
166 - fmin
167 - fmaxf
168 - fmax
169
170 ## [v0.1.2] - 2018-07-18
171
172 ### Added
173
174 - acosf
175 - asin
176 - asinf
177 - atan
178 - atan2
179 - atan2f
180 - atanf
181 - cos
182 - cosf
183 - cosh
184 - coshf
185 - exp2
186 - expm1
187 - expm1f
188 - expo2
189 - fmaf
190 - pow
191 - sin
192 - sinf
193 - sinh
194 - sinhf
195 - tan
196 - tanf
197 - tanh
198 - tanhf
199
200 ## [v0.1.1] - 2018-07-14
201
202 ### Added
203
204 - acos
205 - acosf
206 - asin
207 - asinf
208 - atanf
209 - cbrt
210 - cbrtf
211 - ceil
212 - ceilf
213 - cosf
214 - exp
215 - exp2
216 - exp2f
217 - expm1
218 - expm1f
219 - fdim
220 - fdimf
221 - floorf
222 - fma
223 - fmod
224 - log
225 - log2
226 - log10
227 - log10f
228 - log1p
229 - log1pf
230 - log2f
231 - roundf
232 - sinf
233 - tanf
234
235 ## v0.1.0 - 2018-07-13
236
237 - Initial release
238
239 [Unreleased]: https://github.com/japaric/libm/compare/v0.2.1...HEAD
240 [v0.2.1]: https://github.com/japaric/libm/compare/0.2.0...v0.2.1
241 [v0.2.0]: https://github.com/japaric/libm/compare/0.1.4...v0.2.0
242 [v0.1.4]: https://github.com/japaric/libm/compare/0.1.3...v0.1.4
243 [v0.1.3]: https://github.com/japaric/libm/compare/v0.1.2...0.1.3
244 [v0.1.2]: https://github.com/japaric/libm/compare/v0.1.1...v0.1.2
245 [v0.1.1]: https://github.com/japaric/libm/compare/v0.1.0...v0.1.1