fixed realtime.h use of std::numeric_limits<>