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
Keyop
Thu Apr 25 21:14:50 2024
from
Huddersfield, West Yorkshire
via
SSH
Cronus
Thu Apr 25 18:32:15 2024
from
Provo, Ut
via
SSH
Cronus
Thu Apr 25 18:24:38 2024
from
Provo, Ut
via
SSH
Michal Wronka
Thu Apr 25 14:02:21 2024
from
Wroclaw, Poland
via
SSH