aboutsummaryrefslogtreecommitdiff
path: root/src/utils/math.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make the project build with Microsoft's broken C compiler.Sebastiano Tronto2026-04-061-3/+3
| | | | | | | | | | | | | 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.
* All coordinates unsignedSebastiano Tronto2025-07-291-19/+20
|
* Optimized some coordinatesSebastiano Tronto2025-07-291-10/+12
|
* Tiny cleanupSebastiano Tronto2025-07-281-1/+1
|
* Turns checks into assertions in utils/math.hSebastiano Tronto2025-07-281-53/+20
|
* Hardcoded factorial constantsSebastiano Tronto2025-07-281-25/+4
|
* Removed VLA notation from function parameters.Sebastiano Tronto2025-05-271-12/+12
| | | | | 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.
* Improved logging, especially for solveSebastiano Tronto2025-04-191-2/+2
|
* Some minor changes to the interface.Sebastiano Tronto2025-04-081-2/+2
| | | | | | | | | - Simplified logger to accept only a string, not a variadic list of args like printf(). This can still use some improvement, but now it is easier to use from other languages. - Fixed some misuses of the logger (wrong types etc) - Renamed some constants - Fixed some typos in comments.
* Optimize genptable for coordinate solve (20x speedup)Sebastiano Tronto2025-03-291-0/+14
|
* Some safety with move arrays, small refactor appendcharSebastiano Tronto2025-03-221-33/+32
|
* More renamingSebastiano Tronto2024-09-051-4/+4
|
* Rename constants from _underscore to CAPSSebastiano Tronto2024-09-051-26/+26
|
* Added tool for checking new tables (and they are wrong)Sebastiano Tronto2024-08-301-0/+1
|
* Reorganized folder structureSebastiano Tronto2024-08-181-0/+185

Generated with cgit - Back to sebastiano.tronto.net