Skip to content

Commit adbd0fb

Browse files
committed
Release 0.9.11 "Prayer" - Uncertain number
This release implements arithmetic and basic functions on uncertain numbers. This propagates uncertainty using quadradic superposition, in a way similar to OpenRPNCalc, with a generalization for correlated variables. New features ------------ * Arithmetic and basic functions on uncertain numbers * Add support for complex-valued unit objects, e.g. `5+3ⅈ Ω` * Add support for range-valued unit objects, e.g. `1…3 Ω` * Support arithmetic operation on infinities, e.g. `∞ 42 +` * Add commands to generate mathematical constants (π, ℮, ∞ and −∞) * Parsing and editing of ranges containing infinities * Accept infinities in `→Range` and variants * Comparison of infinite values and finite values * Add union and intersection commands for ranges * Add operations to build ranges and uncertain numbers from components * Add derivative for `erf` and `erfc` Bug fixes --------- * Do not leave bad expressions behind after errors on ranges * Obey the `InfinityError` flag when detecting divide-by-zero in ranges * Avoid crash pushing null pointer after unit evaluation error * Avoid spurious inconsistent units error due to date computations * Null-protection in variadic `list::make`, fixes null-deref crash Improvements ------------ * Accelerate error exit from arithmetic operations * Render uncertain numbers as `110±σ15` instead of `110±15σ` * Accept `−` as valid input in constants (for `−∞`) * Record performance data for iPhone 16 * Change spelling to `→σRange` in `RangeMenu` * Use `ASSERT` for divide by zero inner checks (remove dead code) Signed-off-by: Christophe de Dinechin <[email protected]>
1 parent 3da10df commit adbd0fb

File tree

5 files changed

+116
-2
lines changed

5 files changed

+116
-2
lines changed

doc/5-ReleaseNotes.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# Release notes
22

3+
## Release 0.9.11 "Prayer" - Uncertain number
4+
5+
This release implements arithmetic and basic functions on uncertain numbers.
6+
This propagates uncertainty using quadradic superposition, in a way similar to
7+
OpenRPNCalc, with a generalization for correlated variables.
8+
9+
### New features
10+
11+
* Arithmetic and basic functions on uncertain numbers
12+
* Add support for complex-valued unit objects, e.g. `5+3ⅈ Ω`
13+
* Add support for range-valued unit objects, e.g. `1…3 Ω`
14+
* Support arithmetic operation on infinities, e.g. `∞ 42 +`
15+
* Add commands to generate mathematical constants (π, ℮, ∞ and −∞)
16+
* Parsing and editing of ranges containing infinities
17+
* Accept infinities in `→Range` and variants
18+
* Comparison of infinite values and finite values
19+
* Add union and intersection commands for ranges
20+
* Add operations to build ranges and uncertain numbers from components
21+
* Add derivative for `erf` and `erfc`
22+
23+
### Bug fixes
24+
25+
* Do not leave bad expressions behind after errors on ranges
26+
* Obey the `InfinityError` flag when detecting divide-by-zero in ranges
27+
* Avoid crash pushing null pointer after unit evaluation error
28+
* Avoid spurious inconsistent units error due to date computations
29+
* Null-protection in variadic `list::make`, fixes null-deref crash
30+
31+
### Improvements
32+
33+
* Accelerate error exit from arithmetic operations
34+
* Render uncertain numbers as `110±σ15` instead of `110±15σ`
35+
* Accept `` as valid input in constants (for `−∞`)
36+
* Record performance data for iPhone 16
37+
* Change spelling to `→σRange` in `RangeMenu`
38+
* Use `ASSERT` for divide by zero inner checks (remove dead code)
39+
40+
341
## Release 0.9.10 "Best" - Ranges and documentation
442

543
This release is primarily a refinement of ranges and a documentation update.

help/db48x.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4323,6 +4323,44 @@ To enter `IFTE` in a program, select the `TestsMenu` (🟦 _3_) and then
43234323
the _IFTE_ command (🟨 _F6_).
43244324
# Release notes
43254325

4326+
## Release 0.9.11 "Prayer" - Uncertain number
4327+
4328+
This release implements arithmetic and basic functions on uncertain numbers.
4329+
This propagates uncertainty using quadradic superposition, in a way similar to
4330+
OpenRPNCalc, with a generalization for correlated variables.
4331+
4332+
### New features
4333+
4334+
* Arithmetic and basic functions on uncertain numbers
4335+
* Add support for complex-valued unit objects, e.g. `5+3ⅈ Ω`
4336+
* Add support for range-valued unit objects, e.g. `1…3 Ω`
4337+
* Support arithmetic operation on infinities, e.g. `∞ 42 +`
4338+
* Add commands to generate mathematical constants (π, ℮, ∞ and −∞)
4339+
* Parsing and editing of ranges containing infinities
4340+
* Accept infinities in `→Range` and variants
4341+
* Comparison of infinite values and finite values
4342+
* Add union and intersection commands for ranges
4343+
* Add operations to build ranges and uncertain numbers from components
4344+
* Add derivative for `erf` and `erfc`
4345+
4346+
### Bug fixes
4347+
4348+
* Do not leave bad expressions behind after errors on ranges
4349+
* Obey the `InfinityError` flag when detecting divide-by-zero in ranges
4350+
* Avoid crash pushing null pointer after unit evaluation error
4351+
* Avoid spurious inconsistent units error due to date computations
4352+
* Null-protection in variadic `list::make`, fixes null-deref crash
4353+
4354+
### Improvements
4355+
4356+
* Accelerate error exit from arithmetic operations
4357+
* Render uncertain numbers as `110±σ15` instead of `110±15σ`
4358+
* Accept `−` as valid input in constants (for `−∞`)
4359+
* Record performance data for iPhone 16
4360+
* Change spelling to `→σRange` in `RangeMenu`
4361+
* Use `ASSERT` for divide by zero inner checks (remove dead code)
4362+
4363+
43264364
## Release 0.9.10 "Best" - Ranges and documentation
43274365

43284366
This release is primarily a refinement of ranges and a documentation update.

help/db50x.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4332,6 +4332,44 @@ To enter `IFTE` in a program, select the `TestsMenu` (🟦 _3_) and then
43324332
the _IFTE_ command (🟨 _F6_).
43334333
# Release notes
43344334

4335+
## Release 0.9.11 "Prayer" - Uncertain number
4336+
4337+
This release implements arithmetic and basic functions on uncertain numbers.
4338+
This propagates uncertainty using quadradic superposition, in a way similar to
4339+
OpenRPNCalc, with a generalization for correlated variables.
4340+
4341+
### New features
4342+
4343+
* Arithmetic and basic functions on uncertain numbers
4344+
* Add support for complex-valued unit objects, e.g. `5+3ⅈ Ω`
4345+
* Add support for range-valued unit objects, e.g. `1…3 Ω`
4346+
* Support arithmetic operation on infinities, e.g. `∞ 42 +`
4347+
* Add commands to generate mathematical constants (π, ℮, ∞ and −∞)
4348+
* Parsing and editing of ranges containing infinities
4349+
* Accept infinities in `→Range` and variants
4350+
* Comparison of infinite values and finite values
4351+
* Add union and intersection commands for ranges
4352+
* Add operations to build ranges and uncertain numbers from components
4353+
* Add derivative for `erf` and `erfc`
4354+
4355+
### Bug fixes
4356+
4357+
* Do not leave bad expressions behind after errors on ranges
4358+
* Obey the `InfinityError` flag when detecting divide-by-zero in ranges
4359+
* Avoid crash pushing null pointer after unit evaluation error
4360+
* Avoid spurious inconsistent units error due to date computations
4361+
* Null-protection in variadic `list::make`, fixes null-deref crash
4362+
4363+
### Improvements
4364+
4365+
* Accelerate error exit from arithmetic operations
4366+
* Render uncertain numbers as `110±σ15` instead of `110±15σ`
4367+
* Accept `−` as valid input in constants (for `−∞`)
4368+
* Record performance data for iPhone 16
4369+
* Change spelling to `→σRange` in `RangeMenu`
4370+
* Use `ASSERT` for divide by zero inner checks (remove dead code)
4371+
4372+
43354373
## Release 0.9.10 "Best" - Ranges and documentation
43364374

43374375
This release is primarily a refinement of ranges and a documentation update.

src/dm32/qspi_crc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

2-
#define QSPI_DATA_SIZE 285908
2+
#define QSPI_DATA_SIZE 286988
33
#define QSPI_DATA_CRC 0x000cfed6
44

src/dm42/qspi_crc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

2-
#define QSPI_DATA_SIZE 281916
2+
#define QSPI_DATA_SIZE 282980
33
#define QSPI_DATA_CRC 0x000cfed6
44

0 commit comments

Comments
 (0)