You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On sage-devel I expressed my unease that negative integers have "negative bits". Strictly speaking, there is some inconsistency here, but the behavior is reasonable -- though it warrants some improved documentation.
Attached patch adds documentation for bits() to explain this.
One unrelated (ahem) bit: I added something to the documentation for denominator, which seems strange for integers -- so we might as well say that it just returns 1 for everything.
On sage-devel I expressed my unease that negative integers have "negative bits". Strictly speaking, there is some inconsistency here, but the behavior is reasonable -- though it warrants some improved documentation.
Attached patch adds documentation for bits() to explain this.
Component: documentation
Keywords: bits integers
Author: Dan Drake
Reviewer: David Roe
Merged: sage-5.9.beta2
Issue created by migration from https://trac.sagemath.org/ticket/14322
The text was updated successfully, but these errors were encountered: