Difference between revisions of "User talk:Timeslip"
m
→BSA hashes: Fixed rounding error
imported>Timeslip (BSA hashes) |
imported>Timeslip m (→BSA hashes: Fixed rounding error) |
||
Line 36: | Line 36: | ||
byte c=(byte)((i<<7)+(byte)((hash&0xff00)>>8)); | byte c=(byte)((i<<7)+(byte)((hash&0xff00)>>8)); | ||
hash-=hash&0xFF00FFFF; | hash-=hash&0xFF00FFFF; | ||
hash+=( | hash+=(uint)((a<<24)+b+(c<<8)); | ||
} | } | ||
} | } |