Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. FidoNet
  3. SYNC SYSOPS
  • When a double is cast to an int, but the double has a larger value

    From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Feb 11 22:30:52 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/f587a43e6fee5458e3376d5a8441d5fe3f6e1dc5#note_2274

    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
    https://gitlab.synchro.net/main/sbbs/-/commit/f587a43e6fee5458e3376d5a8441d5fe3f6e1dc5#note_2275

    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
    https://gitlab.synchro.net/main/sbbs/-/commit/f587a43e6fee5458e3376d5a8441d5fe3f6e1dc5#note_2276

    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
    https://gitlab.synchro.net/main/sbbs/-/commit/f587a43e6fee5458e3376d5a8441d5fe3f6e1dc5#note_2277

    Yep.
    --- 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:39:48 2022
    https://gitlab.synchro.net/main/sbbs/-/commit/f587a43e6fee5458e3376d5a8441d5fe3f6e1dc5#note_2278

    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
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 796
    Nodes: 16 (0 / 16)
    Uptime: 165:15:35
    Calls: 13,194
    Calls today: 1
    Files: 15,487
    Messages: 6,579,162

© >>> Magnum BBS <<<, 2026