3
Python'un sonsuz karması neden π rakamına sahip?
Python'daki sonsuzluğun karması pi ile eşleşen rakamlara sahiptir : >>> inf = float('inf') >>> hash(inf) 314159 >>> int(math.pi*1e5) 314159 Bu sadece bir tesadüf mü yoksa kasıtlı mı?
241
python
math
hash
floating-point
pi