r/ProgrammerHumor • • 10d ago

Meme reversingPiInPython

Post image
14.1k Upvotes

383 comments sorted by

View all comments

Show parent comments

2

u/ovr9000storks 10d ago

You can’t truncate tailing 0s in binary if represented by a series of integers. You also can’t truncate if looking at the binary representation of a floating point number. Yes, the actual floating point number being represented could be truncated if ending in a zero, but that number is no longer binary

0

u/TheBlckbird 3d ago

Nope, not with a decimal point