This can also be translated as "forty days and nights." This was a forty full days. It was not a total of eighty days.