Pop-Up Thingie

The Gate BBS
  • Home
  • Forum
  • Files
  • Games
  • More
    • User List
  • Register
  • 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 Friday, February 11, 2022 22:30:52
    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 Friday, February 11, 2022 22:33:36
    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 Friday, February 11, 2022 22:38:00
    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 Friday, February 11, 2022 22:38:45
    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 Friday, February 11, 2022 22:39:48
    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

    • Dr. What
      Sunday, July 06, 2025 09:20:15
      from Rockford, MI via Telnet
  • System Info

    Sysop: Gate Keeper
    Location: Shelby, NC
    Users: 792
    Nodes: 20 (0 / 20)
    Uptime: 78:35:45
    Calls: 12,361
    Calls today: 1
    Files: 5,294
    D/L today: 19 files
    (4,301K bytes)
    Messages: 576,549

© The Gate BBS, 2025