MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / differ_by_repeat

Function differ_by_repeat

src/date.cpp:495–501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

493 }
494
495 static int differ_by_repeat(const time_t t1, const time_t t0) {
496 if (TYPE_INTEGRAL(time_t) &&
497 TYPE_BIT(time_t) - TYPE_SIGNED(time_t) < SECSPERREPEAT_BITS)
498 return 0;
499 /* R change */
500 return (int_fast64_t)t1 - (int_fast64_t)t0 == SECSPERREPEAT;
501 }
502
503 static const char * getzname(const char * strp) {
504 char c;

Callers 1

tzloadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected