Guido: > The right conversions should happen when you mix rationals with other > types of numbers (int/long -> rational -> float -> complex), but no > operations should return rationals unless a rational goes in. Maybe there should be a separate operator for rational division? 1/3 --> float 1//3 --> int 1///3 --> rational (Okay, a 3-char operator is a bit verbose, but I can't think of anything else that looks division-like just at the moment.) Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg@cosc.canterbury.ac.nz +--------------------------------------+
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4