Closed rick-masters closed 6 months ago
Oh, I'm sorry. I'm afraid I didn't take tcc into account when making this change. Your patch is fine, please submit your PR.
Just curious, why 10000 and not 1000?.
Thank you.
Just curious, why 10000 and not 1000?.
It is just arbitrary, but 10000 converts the current 0.1 to 10 which allows you to lower if necessary in the future.
It is just arbitrary, but 10000 converts the current 0.1 to 10 which allows you to lower if necessary in the future.
Good point. Thank you.
Fiwix doesn't compile with tcc now, ending with this error message:
This is a result of adding floating point math recently using PAGE_HASH_PERCENTAGE. The floating point math can be avoided with a simple change like I've pasted below. It's not the greatest patch so if you have any suggestions let me know. This could also be changed with
#ifdef __TINYC__
. If you have a preference and/or would like me to submit a PR please let me know.