Define a better version of
that handles both positive and negative arguments.
should normalize the sign so that if the rational number is positive, both the numerator and denominator are positive, and if the rational number is negative, only the numerator is negative.
There are no comments yet.
You must log in to post a comment.Login