Changeset 2112
- Timestamp:
- Oct 13, 2004, 5:02:30 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
astro/psTime.c (modified) (2 diffs)
-
astronomy/psTime.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psTime.c
r2075 r2112 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.3 2$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-10-1 3 19:04:42$13 * @version $Revision: 1.33 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-10-14 03:02:30 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1040 1040 outTime->type = tai1->type; 1041 1041 outTime->sec = tai1->sec - tai2->sec; 1042 deltaUsec = tai1->usec -tai2->usec;1042 deltaUsec = (long)tai1->usec - (long)tai2->usec; 1043 1043 1044 1044 // Adjust time in case of microsecond underflow after subtraction -
trunk/psLib/src/astronomy/psTime.c
r2075 r2112 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.3 2$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-10-1 3 19:04:42$13 * @version $Revision: 1.33 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-10-14 03:02:30 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1040 1040 outTime->type = tai1->type; 1041 1041 outTime->sec = tai1->sec - tai2->sec; 1042 deltaUsec = tai1->usec -tai2->usec;1042 deltaUsec = (long)tai1->usec - (long)tai2->usec; 1043 1043 1044 1044 // Adjust time in case of microsecond underflow after subtraction
Note:
See TracChangeset
for help on using the changeset viewer.
