These are chat archives for bluescarni/piranha

Feb 2018
Andrew Corrigan
Feb 09 14:05
Does Piranha guarantee anything about the signs of rational numbers:
for example, if I have a positive rational number r, does that imply both r.den() and r.num() are positive?
if I have a negative rational number r, is there any guarantee that only r.num() is negative? or could den() be negative instead?
Francesco Biscani
Feb 09 15:06
rationals are always represented in a canonical form: denominator is strictly positive, numerator and denominator are coprime. Only the numerator can be signed.
Andrew Corrigan
Feb 09 20:26