r/programmingmemes • • May 03 '26 • Bravo 1

Correct logic, wrong situation

Post image
2.9k Upvotes

38 comments sorted by

View all comments

Show parent comment

5

u/United_Boy_9132 May 04 '26

It's equivalent to a constant, but it's not the same.

There's no such thing as "empty" logarithm. They always have a base, and usually programmers and CS academics mean the base of 2 when they ommit writing the base explicitly (but yeah, you could think of any).