I am using math.acos() function :
math.acos(1.0000000000000002)
This throws a math domain error. Can someone tell the reason? I am getting this value calculated before and here this value gives error but if I remove 2 at the end it does not throw error. I did not get the reason to this.
See also:
* Why does math.log result in ValueError: math domain error?
* Why does math.sqrt result in ValueError: math domain error?