squiggle.c

Self-contained Monte Carlo estimation in C99
Log | Files | Refs | README

commit c4805650513d35d0b3ed311a8b369b3ca7759f9f
parent bb91fd4473760c4954a1cf055375e4f2338bf609
Author: NunoSempere <nuno.sempere@protonmail.com>
Date:   Sat,  9 Dec 2023 19:04:42 +0000

README tweaks

Diffstat:
MREADME.md | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -286,10 +286,10 @@ In fact, squiggle.c does have a few functions for algebraic manipulations of sim By default, I've enabled -Wall -Wextra -Wdouble-promotion -Wconversion. However, these produce some false positive warnings, which I've dealt with through: -- For conversion: Explit casts, particularly from int to size_t when calling malloc. +- For conversion: Explicit casts, particularly from int to size_t when calling malloc. - For dealing with unused variables: Using an UNUSED macro. If you don't like that approach, you could add -Wno-unused-parameter to your makefile and remove the macro and its usage. -Some ressources on compiler flags: [1](https://nullprogram.com/blog/2023/04/29/), [2](https://news.ycombinator.com/item?id=7371806) +Some resources on compiler flags: [1](https://nullprogram.com/blog/2023/04/29/), [2](https://news.ycombinator.com/item?id=7371806) #### Results of running clang-tidy @@ -382,6 +382,7 @@ Overall, I'd describe the error handling capabilities of this library as pretty ### To do - [ ] Drive in a few more real-life applications +- [ ] Look into using size_t instead of int for sample numbers ### Done