-
Notifications
You must be signed in to change notification settings - Fork 180
Functions for arithmetic, logical, and bitwise functions. #152
Conversation
msoeken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me. Just pointed out a few minor issues.
|
Thanks for the feedback and catches, @msoeken! I've addressed your comments, should be good for another round now. |
msoeken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've missed some few issues in the last round.
Standard/src/Bitwise/Bitwise.qs
Outdated
| /// # Remarks | ||
| /// The following are equivalent: | ||
| /// ```Q# | ||
| /// let c = a <<< b; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be let c = a >>> b;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed. Thanks for the catch!
|
Thanks for the second look, @msoeken! I think it should be good now. |
msoeken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks all good to me now! Looking forward to have these helpful functions in the Libraries!
This PR introduces new functions as per discussions at #147 for each built-in logical, arithmetic, or bitwise operator, as well as expanding support for the
ComplexandComplexPolartypes to be more consistent. Unfortunately, this work exposed the need to deprecate a few more functions, so this PR also includes appropriate deprecation stubs.