Skip to content

Commit 1fc1bec

Browse files
committed
v0.11.09h 2023/10/01
* Added: - LIB: Support for 2 custom list of values of different tolerances - LIB: Can use lower tolerance list, keeping best final tolerance: when lists=2 and valTolBest=1 use baseR2 as 1/10 tolerance than baseR when lists=2 and valTolBest=1 use baseR2 & baseR2 too - LIB: use mem=1 computations with lists=2 to reduce memory requirements - CLI: Support for 2 custom list of values of different tolerances - CLI: new output formatting to show tolerance of each component - CLI: use 80 columns for output formatting - GUI: enlarged to 722 pixels to accomodate 80 cols output formatting - GUI: new widgets to support lists=2, (in)activate meaning widgets - LIB: extended support to 8 decades, GUI too - GUI: working Stop button - LIB: reduced memory allocation/compute time for input descriptions: baseR[3+2],mem=0,lists2=2,valTolBest=0: 1.7 kB => 840 B , 0.000704 s => 0.000905 s E1,decades=7,mem=0,lists2=1 : 1.5 kB => 1.5 kB , 0.002569 s => 0.001241 s E12,decades=7,mem=0,lists2=1 : 346.8 kB => 173.4 kB, 42.715295 s => 20.320254 s - LIB: refactored compute functions for mem=1 - LIB: refactored showHelp(), showConf() - GUI: changed radio buttom standardEserie/custom values callbacks: done - GUI: disabled "standard Series" & "Decades" selection when "custom values" - LIB: reSolveConf.txt renamed 'desired=' to 'target=' 'algo=' to 'mem=' 'baseR=' to 'userR=' 'baseRdesc=' to 'userRdesc=' - LIB: reSolveConf.txt added 'userRtol=' 'lists=' 'userR2=' 'userR2tol=' 'userR2desc=' 'valTolBest=' - LIB: reSolveConf.txt ignore/removed 'listNumber=' 'maxRc=' * Fix: - LIB: fix conversion to eng notation in case: -1000E-09 instead of -1E-06 - LIB: parsing of reSolveConf.txt more robust for duplicates and comments - GUI: target and decades are not updated on direct type
1 parent 984b5ef commit 1fc1bec

File tree

13 files changed

+368
-190
lines changed

13 files changed

+368
-190
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ userR={ v1, v2, ..., Vn } ; user list of 'n' values @1%
6868
userRtol=1 ; baseR percent tolerance: use 1 for 1% tolerance
6969
userRdesc="user list of 'n' values @1% tolerance" ; description max 64 chars
7070
```
71-
When lists=2, ReSolve set Eserie=0, maxRp=2, mem=0 and will use a second set
71+
When lists=2, ReSolve set Eserie=0, maxRp=2 and will use a second set
7272
of user/custom values in addition to the base ones, read from:
7373
```
7474
userR2={ v1, v2, ..., Vm } ; user list of 'm' values @0.1%
@@ -365,7 +365,7 @@ v0.10.09h 2023/05/30
365365
- GUI: add some hints popup
366366
- GUI: working About button, thanks @lb90
367367

368-
v0.11.09h 2023/09/05
368+
v0.11.09h 2023/10/01
369369
* Added:
370370
- LIB: Support for 2 custom list of values of different tolerances
371371
- LIB: Can use lower tolerance list, keeping best final tolerance:
@@ -376,7 +376,7 @@ v0.11.09h 2023/09/05
376376
- CLI: new output formatting to show tolerance of each component
377377
- CLI: use 80 columns for output formatting
378378
- GUI: enlarged to 722 pixels to accomodate 80 cols output formatting
379-
- GUI: new widgets to support lists=2, as now partially inactive
379+
- GUI: new widgets to support lists=2, (in)activate meaning widgets
380380
- LIB: extended support to 8 decades, GUI too
381381
- GUI: working Stop button
382382
- LIB: reduced memory allocation/compute time for input descriptions:

reSolveConf.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ format=1; 0 scientific notation, 1 engineering notation, 2 SI prefix
4040
mem=1 ; 0 use old memory hungry strategy, 1 use new memory save strategy
4141

4242
lists=1 ; 1 normal, 2 use baseR as low precision and baseR2 as hi precision
43-
; when lists=2 automatically set Eserie=0, maxRc=2 and mem=0
43+
; when lists=2 automatically set Eserie=0 and maxRp=2
4444

4545
userR2={ 10, 12.1, 14.7, 17.8, 21.5, 26.1, 31.6, 38.3, 46.4, 56.2, 68.1, 82.5, 100, 121, 147, 178, 215, 261, 316, 383, 464, 562, 681, 825, 1000, 1210, 1470, 1780, 2150, 2610, 3160, 3830, 4640, 5620, 6810, 8250, 10000, 12100, 14700, 17800, 21500, 26100, 31600, 38300, 46400, 56200, 68100, 82500, 100000, 121000, 147000, 178000, 215000, 261000, 316000, 383000, 464000, 562000, 681000, 825000, 1000000, 1210000, 1470000, 1780000, 2150000, 2610000, 3160000, 3830000, 4640000, 5620000, 6810000, 8250000, 10000000, 12100000, 14700000, 17800000, 21500000 } ; user list of 77 E48/4 values @0.1%, 10-22M Ohm
4646
userR2tol=0.1 ; baseR2 percent tolerance: use 0.1 for 0.1% tolerance

reSolveReadme.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ userR={ v1, v2, ..., Vn } ; user list of 'n' values @1%
6868
userRtol=1 ; baseR percent tolerance: use 1 for 1% tolerance
6969
userRdesc="user list of 'n' values @1% tolerance" ; description max 64 chars
7070
```
71-
When lists=2, ReSolve set Eserie=0, maxRp=2, mem=0 and will use a second set
71+
When lists=2, ReSolve set Eserie=0, maxRp=2 and will use a second set
7272
of user/custom values in addition to the base ones, read from:
7373
```
7474
userR2={ v1, v2, ..., Vm } ; user list of 'm' values @0.1%
@@ -365,7 +365,7 @@ v0.10.09h 2023/05/30
365365
- GUI: add some hints popup
366366
- GUI: working About button, thanks @lb90
367367

368-
v0.11.09h 2023/09/05
368+
v0.11.09h 2023/10/01
369369
* Added:
370370
- LIB: Support for 2 custom list of values of different tolerances
371371
- LIB: Can use lower tolerance list, keeping best final tolerance:
@@ -376,7 +376,7 @@ v0.11.09h 2023/09/05
376376
- CLI: new output formatting to show tolerance of each component
377377
- CLI: use 80 columns for output formatting
378378
- GUI: enlarged to 722 pixels to accomodate 80 cols output formatting
379-
- GUI: new widgets to support lists=2, as now partially inactive
379+
- GUI: new widgets to support lists=2, (in)activate meaning widgets
380380
- LIB: extended support to 8 decades, GUI too
381381
- GUI: working Stop button
382382
- LIB: reduced memory allocation/compute time for input descriptions:

src/comType.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* ReSolve v0.11.09h 2023/09/05 solve math expressions using discrete values*/
1+
/* ReSolve v0.11.09h 2023/10/01 solve math expressions using discrete values*/
22
/* Copyright 2005-2023 Valerio Messina http://users.iol.it/efa */
33
/* comType.h is part of ReSolve
44
ReSolve is free software: you can redistribute it and/or modify

src/exprParser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* ReSolve v0.11.09h 2023/09/05 solve math expressions using discrete values*/
1+
/* ReSolve v0.11.09h 2023/10/01 solve math expressions using discrete values*/
22
/* Copyright 2005-2023 Valerio Messina http://users.iol.it/efa */
33
/* exprParser.c is part of ReSolve
44
ReSolve is free software: you can redistribute it and/or modify

src/exprParser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* ReSolve v0.11.09h 2023/09/05 solve math expressions using discrete values*/
1+
/* ReSolve v0.11.09h 2023/10/01 solve math expressions using discrete values*/
22
/* Copyright 2005-2023 Valerio Messina http://users.iol.it/efa */
33
/* exprParser.h is part of ReSolve
44
ReSolve is free software: you can redistribute it and/or modify

src/fileIo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* ReSolve v0.11.09h 2023/09/05 solve math expressions using discrete values*/
1+
/* ReSolve v0.11.09h 2023/10/01 solve math expressions using discrete values*/
22
/* Copyright 2005-2023 Valerio Messina http://users.iol.it/efa */
33
/* fileIo.c is part of ReSolve
44
ReSolve is free software: you can redistribute it and/or modify

src/fileIo.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* ReSolve v0.11.09h 2023/09/05 solve math expressions using discrete values*/
1+
/* ReSolve v0.11.09h 2023/10/01 solve math expressions using discrete values*/
22
/* Copyright 2005-2023 Valerio Messina http://users.iol.it/efa */
33
/* fileIo.h is part of ReSolve
44
ReSolve is free software: you can redistribute it and/or modify

src/makeAppDir.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# makeAppDir.sh: this script generate the AppDir for ReSolve. 2023-08-29
2+
# makeAppDir.sh: this script generate the AppDir for ReSolve. 2023-10-01
33
echo "makeAppDir.sh: generating the AppDir for ReSolve ..."
44
if (test "" = "$1") then
55
echo "makeAppDir.sh ERROR: need the target platform to create package"

src/reSolveCli.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* ReSolve v0.11.09h 2023/09/05 solve math expressions using discrete values*/
1+
/* ReSolve v0.11.09h 2023/10/01 solve math expressions using discrete values*/
22
/* Copyright 2005-2023 Valerio Messina http://users.iol.it/efa */
33
/* reSolveCli.c is part of ReSolve
44
ReSolve is free software: you can redistribute it and/or modify

0 commit comments

Comments
 (0)