Pop-Up Thingie

Ricks BBS
  • Home
  • Forum
  • Files
  • News
  • More
    • Synchronet BBS 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

  • System Info

    Sysop: Rixter
    Location: Madison,NC
    Users: 586
    Nodes: 10 (0 / 10)
    Uptime: 95:17:49
    Calls: 2,941
    Files: 74,275
    Messages: 407,289

© Ricks BBS, 2025