about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorquaternic <57393910+quaternic@users.noreply.github.com>2025-07-01 11:07:48 +0300
committerGitHub <noreply@github.com>2025-07-01 08:07:48 +0000
commit6c4221818e00828ecf54b395475477f49d0ea716 (patch)
tree032b4057e7052506108d3bdc565e25ab31524933 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parenta4d584e7a6d2bb4ce08b72faec0c35206dd6e4b7 (diff)
downloadrust-6c4221818e00828ecf54b395475477f49d0ea716.tar.gz
rust-6c4221818e00828ecf54b395475477f49d0ea716.zip
libm: Improved integer utilities, implement shifts and bug fixes for i256 and u256
`i256` and `u256`
- operators now use the same overflow convention as primitives
- implement `<<` and `-` (previously just `>>` and `+`)
- implement `Ord` correctly (the previous `PartialOrd` was broken)
- correct `i256::SIGNED` to `true`

The `Int`-trait is extended with `trailing_zeros`, `carrying_add`, and
`borrowing_sub`.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions