Overview
| Artifact ID: | db4039b116a50dec24c16f17efbff0b036c28575 |
|---|---|
| Ticket: | 868467ffffffffffffffffffffffffffffffffff
large shift ops wrong |
| User & Date: | hinteger on 2003-12-31 15:12:43 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
expr does not deliver correct results for <</>>, if the shift count is equal (or greater) the bitcount of an integer. e.g. expr 5>>32 gives 5, instead of expected 0 expr 5>>33 gives 2, instead of expected 0 Ok, as someone said on clt, this isn't covered in C89 Standard too, but do we have to stick to faulty standards, that were set up years ago. For implementing shifts of bit fields wider than int, this is required to work correctly (ok, I could do conditional expr's, but the code gets quite ugly) - foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "hinteger"
- subsystem changed to: "16. Commands A-H"
- title changed to: "<</>> x (x>=bitcount of architecture) is wrong"
- type changed to: "Bug"