math.log2
and math.log
are giving me wrong results for some high numbers, tested it via online py interpreter and on a local machine.
>>>print(2**72)
>>>4722366482869645213696 #Correct
>>>math.log2(4722366482869645213697)
>>>72.0 #Wrong
>>>math.log(4722366482869645213697,2)
>>>72.0 #Wrong
>>>math.log2(39614081257132168796771975174)
>>>95.0 #Wrong
>>>print(2**95)
>>>39614081257132168796771975168 #Correct
Am I missing something or its some bug?