Applied patch by Julun: time computations based on an algorithm by Fliegel,

and van Flandern (1968), instead of those inefficient loops we had before.
Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22557 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-10-14 17:27:44 +00:00
parent d5fb5794c6
commit 6a0f39da22
3 changed files with 44 additions and 112 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright 2006, Axel Dörfler, [email protected]. All rights reserved.
* Copyright 2006-2007, Axel Dörfler, [email protected]. All rights reserved.
* Copyright 2003, Jeff Ward, [email protected]. All rights reserved.
*
* Distributed under the terms of the MIT License.
@@ -13,7 +13,7 @@
#include <time.h>
#define RTC_EPOCHE_BASE_YEAR 1970
#define RTC_EPOCH_BASE_YEAR 1970
typedef struct rtc_info {
uint32 time;