• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Scot Breitenfeld
  1. Scot Breitenfeld

hdf5_msb

HDF5
hdf5
Public
Actions
  • Clone
  • Download

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Graphs
  • Branches
  • Network
  • Latest Activities

Commits

Raymond Lu
14f8f4d4370
Participant
    Watch this commit
    Tag this commit
    Raymond Lu committed f32d49916d412 Aug 2011
    [svn-r21220] The original code 
       i_mask = ~((unsigned)~0 << (precision[0] + offset[0])) & ((unsigned)~0 << offset[0]);
    in line 3680 left shifted a 32-bit integer for 32-bit.  The result is undefined by C language.  A user
    discovered it using clang compiler with -fcatch-undefined-behavior option (see Issue 7674
    in Jira).  So I changed it in a funny way to avoid it.
    
    Tested on jam, koala, and heiwa.
    • Git repository management for enterprise teams powered by Atlassian Bitbucket
    • Atlassian Bitbucket v4.4.1
    • Documentation
    • Contact Support
    • Request a feature
    • About
    • Contact Atlassian
    Atlassian
    ยป