In addition to shift right arithmetic add shift right logical

Issue #481 new
Former user created an issue

Originally reported on Google Code with ID 481

A shift right logical function should be added so that automatic sign extension of shr
(shift right arithmetic) is not performed. 

This would be a nice addition to the programmer specific features of speedcrunch. 

Reported by josh.rendon on 2014-02-19 22:25:48

Comments (2)

  1. Former user Account Deleted

    Reported by helder.pereira.correia on 2014-02-19 23:33:06 - Labels added: Type-Enhancement

  2. Pol Welter

    Speedcrunch does not operate on a standard sized integer. The MSD will thus always (?) be 0 (regardless whether the number is positive). The only difference between logical and arithmetic shift will arguably be the display as a signed number or as its two's complement. The latter is the subject of issue #562.

  3. Log in to comment