mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Avoid returning negative zeroes in v2s_f32_rounded
This ensures that values roundtrip correctly since -0.0 and 0.0 correspond to the same normalized value.
This commit is contained in:
@@ -10,6 +10,14 @@ Since there is no stable release yet, the changes are organized per day in
|
||||
reverse chronological order. The main purpose of this document in its current
|
||||
state is to list breaking changes.
|
||||
|
||||
## [2023-04-27]
|
||||
|
||||
### Changed
|
||||
|
||||
- The `v2s_f32_rounded()` formatter now avoids returning negative zero values
|
||||
for roundtripping reasons since -0.0 and 0.0 correspond to the same normalized
|
||||
value.
|
||||
|
||||
## [2023-04-24]
|
||||
|
||||
### Breaking changes
|
||||
|
||||
Reference in New Issue
Block a user