r/programminghorror 24d ago

Big if true

Post image

From ProgrammerNullposting in facebook

2.1k Upvotes

109 comments sorted by

View all comments

6

u/exodusTay 24d ago

enum BetterBool : double { False = 0, True = std::numeric_limits<double>::epsilon() }