From the Linux man page on roundl(): If you want to store the rounded value in an integer type, you probably want to use one of the functions described in lround(3) instead.
--- SBBSecho 3.14-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
From Deucе@1:103/705 to GitLab note in main/sbbs on Fri Feb 11 22:33:36 2022
Can't because it's too big to fit... we don't want to deal with FP exceptions. --- SBBSecho 3.14-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Feb 11 22:38:00 2022
Interesting. So were you seeing msclock() always returning the same number before?
--- SBBSecho 3.14-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
From Deucе@1:103/705 to GitLab note in main/sbbs on Fri Feb 11 22:38:45 2022
And this is because we're now greater than some magic number of milliseconds away from the Epoch?
--- SBBSecho 3.14-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
Who's Online
Recent Visitors
Fred Blogs
Sun Nov 1 01:53:36 2026
from
Uk
via
SSH
Rixter
Sat Oct 31 23:01:35 2026
from
Madison, Nc
via
Telnet
Bob Worm
Sat Oct 31 21:42:41 2026
from
Wales, Uk
via
Telnet
Amstrad Ppc
Sat Oct 31 19:07:41 2026
from
Wiltshire
via
Telnet
Amstrad Ppc
Sat Oct 31 17:11:55 2026
from
Wiltshire
via
Telnet
Ashenfieldx
Sat Oct 31 16:47:35 2026
from
Guelph, Ontario
via
Telnet
Amstrad Ppc
Sat Oct 31 16:34:27 2026
from
Wiltshire
via
Telnet
Amstrad Ppc
Sat Oct 31 15:21:38 2026
from
Wiltshire
via
Telnet