Pop-Up Thingie

The Horizon BBS
  • Home
  • Forum
  • Files
  • Register
  • Log in

  1. Forum
  2. DOVE-Net
  3. Synchronet Sysops
  • When a double is cast to an int, but the double has a larger value

    From Rob Swindell@VERT 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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT 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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT 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?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT 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.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT 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?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • Who's Online

  • Recent Visitors

    • Chewbacca
      Thu May 8 19:11:35 2025
      from Bhc, Az via Telnet
    • Chewbacca
      Thu May 8 18:27:46 2025
      from Bhc, Az via Telnet
    • NJMCdirect
      Thu May 8 04:46:43 2025
      from florida via HTTPS
    • STD267562
      Thu May 8 03:26:17 2025
      from Manchester via HTTPS
  • System Info

    Sysop: Chris Crash
    Location: Huntington Beach, CA.
    Users: 611
    Nodes: 8 (0 / 8)
    Uptime: 32:55:11
    Calls: 10,849
    Files: 5
    Messages: 505,095

© The Horizon BBS, 2025