I assumed it was an exaggeration, like 48 hours with a break to sleep, because how could OP even know for sure that it was truly 48 hours without break if the guy was at home?
I'm still suspicious whether it was actually 48 hours straight with no rest because -- no matter how brilliant someone is -- I would be extremely leery of the code written toward the end of that session.