Commit Graph

29 Commits

Author SHA1 Message Date
e18e9b0297 fix: was not multiplying by byte size of ull v1.3.1 2025-06-19 22:58:35 +02:00
65d91b2d00 add error handling for if we cannot get the random data 2025-06-19 18:33:25 +02:00
2fd839ae12 fix: integer overflow when giving a small value as an argument 2025-06-19 18:18:31 +02:00
fa19fc2789 fix: using rand() in single flips will always be heads 2025-06-19 18:14:33 +02:00
b31071bb91 fix: running against linux's stack size limit v1.3 2025-06-19 17:53:12 +02:00
598834255f optimize some more by using /dev/random 2025-06-19 16:57:15 +02:00
5f6f1bf720 make the macro more cross-compiler friendly 2025-06-19 16:41:09 +02:00
1e9ae43e52 update workflows (to also include ARM support) v1.2 2025-06-17 23:51:02 +02:00
95dce84d28 fully reoptimize 2025-06-17 23:51:02 +02:00
deabe97247 rework code to be more accurate and platform-independent 2025-06-17 12:55:20 +02:00
3bbfea7400 fix header file to be more platform-independent 2025-06-17 12:46:47 +02:00
Quinn
a37f47d9f6 fix: no such thing as $default-branch v1.1 2025-04-09 15:42:25 +02:00
Quinn
42264b6402 fix: compiler wasn't available 2025-04-09 15:35:53 +02:00
Quinn
6189bdcf92 fix: bear not available 2025-04-09 15:35:53 +02:00
Quinn
10d1aab05f add new gh workflows / most of it 2025-04-09 15:35:11 +02:00
Quinn
ef1dcf7c39 small fixes in the code, mainly to ensure things work properly. 2025-04-09 14:57:14 +02:00
Quinn
40c48980b4 use makefile build system 2025-04-09 14:56:24 +02:00
Quinn
28e8aeb707 fix: forgot newlime innlog message 2025-04-06 17:34:01 +02:00
Quinn
4607afed9a use 64 bit integers for count, rather than 32 bit.
Was facing issues with integer wrapping
2025-04-06 17:32:26 +02:00
Quinn
6ef3d4a660 add bounds to numbered input 2025-04-06 17:27:55 +02:00
Quinn
40aa1b59e6 add error management script 2025-04-06 17:23:22 +02:00
Quinn
50964df129 refactor and pedantic fixes 2025-04-06 17:22:56 +02:00
Quinn
8c8386740b Fix: no need for the if condition there
Instead check if no arguments were given and exit sooner.
2025-04-06 16:55:54 +02:00
Quinn
6acaff36f7 remove package directory 2025-04-06 15:55:47 +02:00
Quinn
1da9e4243e allow for parsing command line arguments for multiple coinflips at once 2025-04-06 15:55:33 +02:00
unset
c8dce9dc0e improved random seed to be less predictable 2025-01-30 16:09:23 +01:00
Quinn
e55fd0f915 add maintainer v1.0 2024-06-12 20:40:59 +02:00
Quinn
8f497d202e add version 2024-06-12 20:37:58 +02:00
Quinn
fb7f3036c7 uploaded files 2024-06-12 20:34:45 +02:00