« first day (2227 days earlier)      last day (850 days later) » 

16:50
@DEKKER If you're going to use std::numeric_limits::epsilon(), as a first step you absolutely need to scale it properly for the numbers you're working with. Then to make any real sense, you have to scale it for the tolerance you need. Most of the time, it's close to useless, except in establishing a "noise floor"--letting you know that any tolerance smaller than a properly scaled epsilon is a waste.

« first day (2227 days earlier)      last day (850 days later) »