Change probability calculation trunk
authorLukas Jiriste <ljiriste@student.42prague.com>
Wed, 22 Jan 2025 12:38:00 +0000 (13:38 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Wed, 22 Jan 2025 12:38:00 +0000 (13:38 +0100)
commit248f0e73718b7f2d192f019b809a547fa2ceb933
tree24215f7117d6364c16ea8c45e5a1ace3d9bcd960
parent34ae45ef8c1de266ac8ab50fb1fd8c660a68eab4
Change probability calculation

Instead of using lower/higher halves of the return range use modulo 2.
This is easier to generalize.
ex03/RobotomyRequestForm.cpp