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
    John Regehr (regehr@mastodon.social)'s status on Wednesday, 13-Nov-2024 03:04:25 JST John Regehr John Regehr
    • David Andersen

    @dave_andersen it's always strict aliasing

    In conversation about 8 months ago from mastodon.social permalink
    • Embed this notice
      pinskia (pinskia@hachyderm.io)'s status on Wednesday, 13-Nov-2024 03:04:24 JST pinskia pinskia
      in reply to
      • David Andersen

      @regehr @dave_andersen Interesting that `-fno-strict-aliasing` does NOT fix it for clang ...

      In conversation about 8 months ago permalink
    • Embed this notice
      pinskia (pinskia@hachyderm.io)'s status on Wednesday, 13-Nov-2024 03:05:33 JST pinskia pinskia
      in reply to
      • David Andersen

      @regehr @dave_andersen Oh wait it is more complex, sizeof(long) != sizeof(float) and clang says the upper bits are undefined then ...

      In conversation about 8 months ago permalink
    • Embed this notice
      pinskia (pinskia@hachyderm.io)'s status on Wednesday, 13-Nov-2024 03:10:01 JST pinskia pinskia
      in reply to
      • David Andersen

      @regehr @dave_andersen Well this originally was DOS, so maybe int was 2 bytes (16bits). It has been a long time since I have looked into (non-32bit) DOS programming.

      In conversation about 8 months ago permalink
    • Embed this notice
      John Regehr (regehr@mastodon.social)'s status on Wednesday, 13-Nov-2024 03:10:02 JST John Regehr John Regehr
      in reply to
      • David Andersen
      • pinskia

      @pinskia @dave_andersen I find "long" to be a weird choice in the original code, I wonder why they used that instead of int?

      In conversation about 8 months ago permalink
    • Embed this notice
      John Regehr (regehr@mastodon.social)'s status on Wednesday, 13-Nov-2024 03:10:03 JST John Regehr John Regehr
      in reply to
      • David Andersen
      • pinskia

      @pinskia @dave_andersen yeah.. you have to also make i a 32-bit type instead of a 64-bit type (but long was 32 bits at the time this code was written, so that's reasonable)

      In conversation about 8 months ago 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.