Two gigaseconds #147

Merged
JanX2 merged 30 commits from two-gigaseconds into master 2021-05-06 22:50:26 -04:00
Showing only changes of commit e28b4dbd5c - Show all commits

View file

@ -40,7 +40,7 @@
if (isinf(timeInterval)) { return @"Inf"; }
BOOL isNegative = signbit(timeInterval);
int totalSeconds = (int)(isNegative ? -timeInterval : timeInterval);
int seconds = totalSeconds % 60;