July 27, 2018 [Issue 19073] core.internal.hash should not bitwise hash representations of floating point numbers | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19073 --- Comment #1 from github-bugzilla@puremagic.com --- Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/7ebe816eaeb83394558ae5467920eebc9ebde2d9 Fix Issue 19073 - core.internal.hash should not bitwise hash representations of floating point numbers Other minor improvements: - Make hash of static arrays more efficient. - More precise test for when memberwise hashing of structs is necessary (fewer false positives). - Make required return type of `toHash` less brittle. - Special handling for structs wrapping a single element (like std.typecons.Typedef). - Infer scope const for some arrays. - Infer scope const for some structs and unions. - Infer scope const and specialize for final classes that don't override toHash. - Infer scope const and remove unnecessary auto ref for some enums. - As previously, uint and int have same hash. - Slightly clean up bytesHash. https://github.com/dlang/druntime/commit/33659bf5897881537436459229f6c228d6776d89 Merge pull request #2240 from n8sh/core-hash-misc-improvements Fix Issue 19073 - core.internal.hash should not bitwise hash representations of floating point numbers, plus minor improvements and refactoring merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com> -- |
July 27, 2018 [Issue 19073] core.internal.hash should not bitwise hash representations of floating point numbers | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19073 github-bugzilla@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- |
Copyright © 1999-2021 by the D Language Foundation