Mercurial > hg > octave-thorsten
comparison src/utils.cc @ 5770:6a9244f89a2a
[project @ 2006-04-18 17:44:33 by jwe]
author | jwe |
---|---|
date | Tue, 18 Apr 2006 17:44:33 +0000 |
parents | 7ba9ad1fec11 |
children | ace8d8d26933 |
comparison
equal
deleted
inserted
replaced
5769:2b9a5ce46678 | 5770:6a9244f89a2a |
---|---|
1115 = static_cast<unsigned int> (modf (seconds, &t) * 1000000); | 1115 = static_cast<unsigned int> (modf (seconds, &t) * 1000000); |
1116 | 1116 |
1117 unsigned int sec | 1117 unsigned int sec |
1118 = (t > UINT_MAX) ? UINT_MAX : static_cast<unsigned int> (t); | 1118 = (t > UINT_MAX) ? UINT_MAX : static_cast<unsigned int> (t); |
1119 | 1119 |
1120 // Versions of these functions that accept unsigned int args are | |
1121 // defined in cutils.c. | |
1120 octave_sleep (sec); | 1122 octave_sleep (sec); |
1121 octave_usleep (usec); | 1123 octave_usleep (usec); |
1122 } | 1124 } |
1123 } | 1125 } |
1124 | 1126 |