aboutsummaryrefslogtreecommitdiff
path: root/src/solvers/tables.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2026-04-06Make the project build with Microsoft's broken C compiler.Sebastiano Tronto1-13/+13
MSVC is not fully C11-compliant, even when compiling with /std:c11. Some changes were needed to make the codebase compatible. Notably, the notation a[static N] and a[n] for function parameters of array type is not supported, so that had to be hidden behind a macro. Atomic types are also an experimental feature, apparently, but at least they work with the correct compiler flag. One thing that MSVC does well, however, is warning on integer conversions on /W4 level. I am not sure if Clang and GCC have something similar, so I took this chance to fix some of these.
2025-08-05Added DRFIN solverSebastiano Tronto1-0/+12
2025-05-27Removed VLA notation from function parameters.Sebastiano Tronto1-8/+10
I found out that this gives undefined behavior when then size is 0. Better not to have it at all, it is confusing for other developers anyway.
2025-05-09Other minor fixesSebastiano Tronto1-2/+2
2025-04-21Always use unsigned char * for data buffersSebastiano Tronto1-15/+16
Before this commit I was inconsistently using one of void *, char * and uint8_t *.
2025-03-25More safety with pointers using VLA function parametersSebastiano Tronto1-27/+22
2025-03-24Big cleanup for appendsolution()Sebastiano Tronto1-3/+0
With this PR the appendsolution routine is extracted from the h48 solver and the new coordinate solver and made generic. This has many advantages: - less repetition (even if the two versions are different enough that *for now* it was not a big deal) - smaller h48/solve.h file, which is already a big beast - easier to test the appendsolution() routine separately
2024-10-19Finished Python moduleSebastiano Tronto1-1/+2
2024-10-12Make gendata and co safer by checking buffer sizeSebastiano Tronto1-32/+52
2024-10-10Fixed tableinfo alignment issuesSebastiano Tronto1-22/+50
2024-10-04Avoid repeating typedefs in testsSebastiano Tronto1-38/+2
2024-09-28Solved alignment UB issueSebastiano Tronto1-23/+27
2024-09-11Simplified solverSebastiano Tronto1-1/+16
2024-09-11Finished table refactorSebastiano Tronto1-3/+3
2024-09-10New tableinfo for gendata_h48, still work to doSebastiano Tronto1-5/+11
2024-09-10Added tabletype to tableinfoSebastiano Tronto1-1/+8
2024-09-10Added next table offset to tableinfoSebastiano Tronto1-1/+5
2024-09-09Added tableinfoSebastiano Tronto1-0/+93

Generated with cgit - Back to sebastiano.tronto.net