Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
fca87ace
Commit
fca87ace
authored
Aug 07, 2007
by
Uwe Schulzweida
Browse files
taxis update
parent
8a591cf8
Changes
1
Show whitespace changes
Inline
Side-by-side
src/taxis.c
View file @
fca87ace
...
...
@@ -835,6 +835,7 @@ void decode_timevalue(int timeunit, double timevalue, int *days, int *secs)
{
*
days
=
(
int
)
(
timevalue
/
86400
);
*
secs
=
(
int
)
(
timevalue
-
*
days
*
86400
.);
if
(
*
secs
<
0
)
{
*
days
-=
1
;
*
secs
+=
86400
;
};
/*
{
double cval = *days*86400. + *secs;
...
...
@@ -847,6 +848,7 @@ void decode_timevalue(int timeunit, double timevalue, int *days, int *secs)
{
*
days
=
(
int
)
timevalue
;
*
secs
=
(
int
)
((
timevalue
-
*
days
)
*
86400
);
if
(
*
secs
<
0
)
{
*
days
-=
1
;
*
secs
+=
86400
;
};
/*
{
double cval = *days + *secs/86400.;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment