[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kcalc] [Bug 331362] kcalc should not allow negative numbers of shift eg: 9 >> -1 or 9 << -1
From:       Evan Teran <eteran () alum ! rit ! edu>
Date:       2014-02-21 12:27:52
Message-ID: bug-331362-17878-nbiy6yD7tp () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=331362

--- Comment #1 from Evan Teran <eteran@alum.rit.edu> ---
I am not sure that I would consider this a bug or something which needs fixing.

In kcalc a negative shift is simply considered to be a shift of the same
magnitude in the opposite direction. kcalc's behavior is consistent and (at
least to me) a reasonable interpretation of what the user asked to do.

So while other sources may choose to handle this differently, I don't know that
one is absolutely "correct".

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic