-
Floating point numbers be weird, including this definition: >>> math.pow(-1,float("inf")) 1.0 Large, finite precision, floating point numbers must be even, so this is actually math.pow(-1,<very-big-even-number>). 🤡
davidjamesweir’s Twitter Archive—№ 947