It seems, from what I can tell, that python 3.10.4 math.floor() will sometimes round up instead of down. This seems to be in contrast to the purpose of the function.
Could someone please explain this?
Example:
>>> math.floor(0.9999999999999999)
0
>>> math.floor(0.99999999999999999)
1