GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    pinskia (pinskia@hachyderm.io)'s status on Tuesday, 17-Dec-2024 07:09:47 JST pinskia pinskia
    in reply to
    • Paul Khuong

    @pkhuong GCC even has an IR for this specific thing, called exact divide. It is used for pointer subtraction.

    In conversation Tuesday, 17-Dec-2024 07:09:47 JST from hachyderm.io permalink
    • Embed this notice
      Paul Khuong (pkhuong@discuss.systems)'s status on Tuesday, 17-Dec-2024 07:09:50 JST Paul Khuong Paul Khuong

      Let's say you know the input is an exact multiple of your integer divisor. Does that let you come up with a smaller div-by-mul constant?

      EDIT: I don't mean a reciprocal inverse mod 2^w, but literally a fixed point div by mul (which also avoids the need to ensure the divisor is odd).

      https://discuss.systems/@pkhuong/113663255154088174

      In conversation Tuesday, 17-Dec-2024 07:09:50 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.