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

    No nodes active
  • Recent Visitors

    • Genalb
      Sun Jul 6 07:06:10 2025
      from Slc, Utah via Telnet
    • Chris Test
      Sun Jul 6 01:52:08 2025
      from Dallas, Texas via HTTPS
    • Chris Test
      Sat Jul 5 21:39:55 2025
      from Dallas, Texas via HTTPS
    • Chris Test
      Sat Jul 5 21:39:36 2025
      from Dallas, Texas via Telnet
  • System Info

    Sysop: Chris Crash
    Location: Huntington Beach, CA.
    Users: 616
    Nodes: 8 (0 / 8)
    Uptime: 01:51:50
    Calls: 10,883
    Calls today: 1
    Files: 5
    Messages: 524,760

© The Horizon BBS, 2025